Changeset 698185 for src/Potentials/CompoundPotential.cpp
- Timestamp:
- May 19, 2021, 7:06:29 PM (4 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- c98620
- Parents:
- b3bd7d
- git-author:
- Frederik Heber <frederik.heber@…> (05/16/21 22:34:32)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- File:
-
- 1 edited
-
src/Potentials/CompoundPotential.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/CompoundPotential.cpp
rb3bd7d r698185 428 428 } 429 429 } 430 430 ASSERT(!returnresults.empty(), 431 "CompoundPotential::parameter_derivative() - could not determine derivative for index " 432 +toString(index)+". This typically indicates that the derivative of the parameter of " 433 +" a model should be evaluated which has not arguments in the partial argument list."); 431 434 return returnresults; 432 435 } … … 436 439 std::vector<bool> constraints(models.size(), 0); 437 440 std::transform(models.begin(), models.end(), constraints.begin(), 438 boost::bind(&FunctionModel:: getParameterDimension, _1));441 boost::bind(&FunctionModel::isBoxConstraint, _1)); 439 442 return std::accumulate(constraints.begin(), constraints.end(), true, 440 443 std::logical_and<bool>());
Note:
See TracChangeset
for help on using the changeset viewer.
