Commits

Ville Suoranta authored f8321727a11 Merge
Merge pull request #189 in CASA/casa6 from CAS-12855 to master

* commit 'f9dfe41d1024482ff61253a003a398041fdfdddc': Remove comment that is not useful. Fix assert() from CAS-12855 (changed comment) Fix assert() from CAS-12855

casa5/code/synthesis/Utilities/PointingDirectionCalculator.cc

Modified
869 869 {
870 870 debuglog << "Spline Obj:: attempt to construct by " << colName.c_str() << debugpost;
871 871
872 872 // Temporary Obj. //
873 873 unique_ptr<SplineInterpolation> spTemp( new SplineInterpolation(ms,acc));
874 874
875 875 // Spline Available (N>4)
876 876 coefficientReady_ [DirColNo] = spTemp-> isCoefficientReady();
877 877
878 878 // move to Spline obj. //
879 - assert(splineObj_[DirColNo] == false); // MUST BE CLEAN (see C++11 for this statement) //
879 + assert(splineObj_[DirColNo] == nullptr);
880 880 splineObj_[DirColNo] = std::move(spTemp);
881 881
882 882 // copy to Master pointer, if this is desired. //
883 883 currSpline_ = splineObj_[DirColNo].get();
884 884
885 885 // Obj. available //
886 886 initializeReady_[DirColNo] = true;
887 887
888 888 return true;
889 889 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut