Revision: 21592
Author: gervandiepen
Date: Sat Mar 28 10:12:38 2015 UTC
Log: One template failed to compile in debug mode
https://code.google.com/p/casacore/source/detail?r=21592
Modified:
/branches/nov14/scimath/Mathematics/InterpolateArray1D.tcc
=======================================
--- /branches/nov14/scimath/Mathematics/InterpolateArray1D.tcc Thu Mar 26
19:30:16 2015 UTC
+++ /branches/nov14/scimath/Mathematics/InterpolateArray1D.tcc Sat Mar 28
10:12:38 2015 UTC
@@ -205,7 +205,7 @@
{
Int nxout=xout.nelements();
IPosition yinShape=yin.shape();
- DebugAssert(xin.nelements()==yinShape(ndim-1),AipsError);
+ DebugAssert(xin.nelements()==yinShape(2),AipsError);
DebugAssert((yinFlags.shape() == yinShape), AipsError);
Bool deleteYin, deleteYout, deleteYinFlags, deleteYoutFlags;