==============================================================================
| 256 | |
| 257 | //============================================================================== |
| 258 | void Problem::removeEqConstraint(FunctionPtr _eqConst) |
| 259 | { |
| 260 | // TODO(JS): Need to delete? |
| 261 | mEqConstraints.erase( |
| 262 | std::remove(mEqConstraints.begin(), mEqConstraints.end(), _eqConst), |
| 263 | mEqConstraints.end()); |
| 264 | } |
| 265 | |
| 266 | //============================================================================== |
| 267 | void Problem::removeIneqConstraint(FunctionPtr _ineqConst) |