summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Panorama.H2
-rw-r--r--src/Panorama.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Panorama.H b/src/Panorama.H
index d6fedcd..cb6327b 100644
--- a/src/Panorama.H
+++ b/src/Panorama.H
@@ -41,7 +41,7 @@ class Panorama {
double alpha(const Hill *m);
- double nick(Hill *m);
+ double nick(const Hill *m);
double comp_center_angle(double alph_a, double alph_b, double d1, double d2);
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index 7d357f1..0b99282 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -430,7 +430,7 @@ Panorama::alpha(const Hill *m) {
double
-Panorama::nick(Hill *m) {
+Panorama::nick(const Hill *m) {
double a, b, c;
double beta;