Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja committed Nov 14, 2023
1 parent 8f33f66 commit df7fa3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/optimization/CasADiIterCallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class CasADiIterCallback : public Callback {
// Evaluate numerically
std::vector<DM> eval(const std::vector<DM>& arg) const override {

int flag = GetCancellationFlag();
int flag = trajopt::GetCancellationFlag();
std::cout << "eval " << flag << std::endl;
return {flag};
return {(double) flag};
}
};

0 comments on commit df7fa3f

Please sign in to comment.