diff --git a/miscmaths.cc b/miscmaths.cc index e50a111649cfe89404119a72657e99e8adf6a0a3..a21f879e909892f8c773c67752b18bf6293b1070 100644 --- a/miscmaths.cc +++ b/miscmaths.cc @@ -1021,7 +1021,7 @@ float median(const ColumnVector& x) -inline void cart2sph(const ColumnVector& dir, float& th, float& ph) +void cart2sph(const ColumnVector& dir, float& th, float& ph) { float mag=sqrt(dir(1)*dir(1)+dir(2)*dir(2)+dir(3)*dir(3)); if(mag==0){