Commits
Ville Suoranta authored f8321727a11 Merge
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 | } |