From bcaddf315988aa97c03be40c72d8b8ad348fcdcf Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Wed, 29 Jan 2025 18:21:35 +0000 Subject: [PATCH] MNT: More useful error messages --- newimage.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/newimage.cc b/newimage.cc index 9161276..8cafafa 100644 --- a/newimage.cc +++ b/newimage.cc @@ -2600,23 +2600,23 @@ vector<T> calculateExtrema(const volume<T>& inputVolume, vector<int64_t>& coordi // Attempts to change interp/extrap settings // on a ShadowVolume will result in an error template<typename T> void ShadowVolume<T>::setinterpolationmethod(interpolation interp) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setinterpolationmethod", 101); } template<typename T> void ShadowVolume<T>::setextrapolationmethod(extrapolation extrapmethod) const - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setextrapolationmethod", 101); } template<typename T> void ShadowVolume<T>::setextrapolationmethod(extrapolation extrapmethod) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setextrapolationmethod", 101); } template<typename T> void ShadowVolume<T>::setpadvalue(T value) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setpadvalue", 101); } template<typename T> void ShadowVolume<T>::setextrapolationvalidity(bool xv, bool yv, bool zv) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setextrapolationvalidity", 101); } template<typename T> void ShadowVolume<T>::definekernelinterpolation(const NEWMAT::ColumnVector& kx, const NEWMAT::ColumnVector& ky, const NEWMAT::ColumnVector& kz, int wx, int wy, int wz) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method definekernelinterpolation", 101); } template<typename T> void ShadowVolume<T>::definesincinterpolation(const std::string& sincwindowtype, int w, int nstore) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method definesincinterpolation", 101); } template<typename T> void ShadowVolume<T>::definesincinterpolation(const std::string& sincwindowtype, int wx, int wy, int wz, int nstore) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method definesincinterpolation", 101); } template<typename T> void ShadowVolume<T>::setsplineorder(int order) - { imthrow("Called private shadow method", 101); } + { imthrow("Called private shadow method setsplineorder", 101); } /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// -- GitLab