aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw27@cam.ac.uk>2008-11-10 16:28:15 +0000
committerThomas White <taw27@cam.ac.uk>2008-11-10 16:28:15 +0000
commit726d83dcad599e62190ec3cd9cac81d29e8d532b (patch)
tree4279a018fc80740b7d02a7b44a24a68e964ae4e7
parenta2e3d847d013680de4885f60505fb9c10d79d1fb (diff)
parent65ef6d2bdb12a2953aa36cdf522a9df05e6c0e0e (diff)
Merge branch 'master' into simple-search
-rw-r--r--src/reflections.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/reflections.c b/src/reflections.c
index 4809438..a589231 100644
--- a/src/reflections.c
+++ b/src/reflections.c
@@ -168,7 +168,8 @@ Reflection *reflectionlist_find_nearest(ReflectionList *reflectionlist, double x
}
-Reflection *reflectionlist_find_nearest_longer_unknown(ReflectionList *reflectionlist, double x, double y, double z, double min_distance) {
+Reflection *reflectionlist_find_nearest_longer_unknown(ReflectionList *reflectionlist,
+ double x, double y, double z, double min_distance) {
double max = +INFINITY;
Reflection *reflection;
@@ -191,7 +192,8 @@ Reflection *reflectionlist_find_nearest_longer_unknown(ReflectionList *reflectio
}
-Reflection *reflectionlist_find_nearest_type(ReflectionList *reflectionlist, double x, double y, double z, ReflectionType type) {
+Reflection *reflectionlist_find_nearest_type(ReflectionList *reflectionlist, double x, double y, double z,
+ ReflectionType type) {
double max = +INFINITY;
Reflection *reflection;