Skip to content

Commit

Permalink
Use OSQP_INFTY instead of numeric_limits infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Jan 8, 2024
1 parent d744f46 commit 0dde436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajopt_sco/src/osqp_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TRAJOPT_IGNORE_WARNINGS_POP

namespace sco
{
const double OSQP_INFINITY = std::numeric_limits<double>::infinity();
const double OSQP_INFINITY = OSQP_INFTY;
const bool OSQP_COMPARE_DEBUG_MODE = false;

OSQPModelConfig::OSQPModelConfig()
Expand Down

0 comments on commit 0dde436

Please sign in to comment.