Minor change to search bug
This commit is contained in:
@@ -155,6 +155,9 @@ void Base_Container<T_Map>::addPoint(std::deque<double> pointIn) {
|
|||||||
if (pointIn.size() != Dim+1) {
|
if (pointIn.size() != Dim+1) {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss<<"Base_Container::addPoint: deque pointIn dimension missmatch.\n";
|
ss<<"Base_Container::addPoint: deque pointIn dimension missmatch.\n";
|
||||||
|
for (std::deque<double>::iterator Itr = pointIn.begin(); Itr!=pointIn.end(); Itr++) {
|
||||||
|
std::cout<<*Itr<<"\n";
|
||||||
|
}
|
||||||
throw MyException(ss.str());
|
throw MyException(ss.str());
|
||||||
}
|
}
|
||||||
rec_addPoint(&Map, pointIn);
|
rec_addPoint(&Map, pointIn);
|
||||||
|
|||||||
@@ -131,7 +131,6 @@ inline std::string getParameterLoadFilePath() {
|
|||||||
|
|
||||||
inline double getParameter(const std::string &parName) {
|
inline double getParameter(const std::string &parName) {
|
||||||
std::string loadFilePath = getParameterLoadFilePath();
|
std::string loadFilePath = getParameterLoadFilePath();
|
||||||
|
|
||||||
std::ifstream fileStream(loadFilePath);
|
std::ifstream fileStream(loadFilePath);
|
||||||
if (!fileStream.good()) {
|
if (!fileStream.good()) {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
|||||||
Reference in New Issue
Block a user