aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/crystal.c2
-rw-r--r--libcrystfel/src/crystal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/crystal.c b/libcrystfel/src/crystal.c
index 3ea148bd..6ac3b71e 100644
--- a/libcrystfel/src/crystal.c
+++ b/libcrystfel/src/crystal.c
@@ -166,7 +166,7 @@ const UnitCell *crystal_get_cell_const(const Crystal *cryst)
}
-double crystal_get_profile_radius(Crystal *cryst)
+double crystal_get_profile_radius(const Crystal *cryst)
{
return cryst->profile_radius;
}
diff --git a/libcrystfel/src/crystal.h b/libcrystfel/src/crystal.h
index b4726cce..f4c7477b 100644
--- a/libcrystfel/src/crystal.h
+++ b/libcrystfel/src/crystal.h
@@ -57,7 +57,7 @@ extern void crystal_free(Crystal *cryst);
extern UnitCell *crystal_get_cell(Crystal *cryst);
extern const UnitCell *crystal_get_cell_const(const Crystal *cryst);
-extern double crystal_get_profile_radius(Crystal *cryst);
+extern double crystal_get_profile_radius(const Crystal *cryst);
extern RefList *crystal_get_reflections(Crystal *cryst);
extern double crystal_get_resolution_limit(Crystal *cryst);
extern long long int crystal_get_num_saturated_reflections(Crystal *cryst);