aboutsummaryrefslogtreecommitdiff
path: root/julia
diff options
context:
space:
mode:
Diffstat (limited to 'julia')
-rw-r--r--julia/alignment-test.jl2
1 files changed, 1 insertions, 1 deletions
diff --git a/julia/alignment-test.jl b/julia/alignment-test.jl
index 43a22a23..e66547be 100644
--- a/julia/alignment-test.jl
+++ b/julia/alignment-test.jl
@@ -10,7 +10,7 @@ function sketch_pattern(image, cr)
for refl in reflist
if randn() > 0
let dpos = refl.detectorposition
- push!(peaklist, dpos.fs, dpos.ss, dpos.panelnumber, 100.0)
+ push!(peaklist, round(dpos.fs), round(dpos.ss), dpos.panelnumber, 100.0)
end
end
end