aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-02-17 16:51:39 +0100
committerThomas White <taw@physics.org>2018-02-27 10:53:59 +0100
commitb85391709082ce890df8f6f229a01c7464f11606 (patch)
tree38f225caac2dc940b94704d1e1bfe8ca7e0b915b /libcrystfel/src
parent76718028a6c6419a799c5cc89e0bd7ce0a3c70b1 (diff)
More const-cleaning
Diffstat (limited to 'libcrystfel/src')
-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);