aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--julia/CrystFEL/src/diffcalc.jl6
1 files changed, 3 insertions, 3 deletions
diff --git a/julia/CrystFEL/src/diffcalc.jl b/julia/CrystFEL/src/diffcalc.jl
index 2e039a20..d89376ce 100644
--- a/julia/CrystFEL/src/diffcalc.jl
+++ b/julia/CrystFEL/src/diffcalc.jl
@@ -1,14 +1,14 @@
module DiffractionCalculations
import ..CrystFEL: libcrystfel
-import ..CrystFEL.Images: InternalImage
-import ..CrystFEL.Crystals: InternalCrystal
+import ..CrystFEL.Images: InternalImage, Image
+import ..CrystFEL.Crystals: InternalCrystal, Crystal
import ..CrystFEL.RefLists: RefList, UnmergedReflection, InternalRefList
import ..CrystFEL.Symmetry: SymOpList
export predictreflections
-function predictreflections(cr, image; maxres=1e10)
+function predictreflections(cr::Crystal, image::Image; maxres=1e10)
refls = ccall((:predict_to_res, libcrystfel),
Ptr{InternalRefList},
(Ptr{InternalCrystal}, Ptr{InternalImage}, Cdouble),