From b85391709082ce890df8f6f229a01c7464f11606 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 Feb 2017 16:51:39 +0100 Subject: More const-cleaning --- libcrystfel/src/crystal.c | 2 +- libcrystfel/src/crystal.h | 2 +- 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); -- cgit v1.2.3