jvo["path"][i - 1][3] = jvo["path"][i - 2][3];
jvo["path"][i - 1][4] = jvo["path"][i - 2][4];
// --
- jvo["costs"][j] = this->_path.back()->cc();
+ if (this->_path.size() > 0) {
+ jvo["costs"][j] = this->_path.back()->cc();
+ }
jvo["goal_cc"] = this->_goal.cc(); // TODO remove, use the following
jvo["cost"] = this->path_cost();
jvo["time"] = this->scnt();