Changeset 5d18f3
- Timestamp:
- Sep 13, 2025, 2:44:01 PM (6 weeks ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 9f1c84
- Parents:
- 5b8c49
- git-author:
- Frederik Heber <frederik.heber@…> (08/30/25 15:56:12)
- git-committer:
- Frederik Heber <frederik.heber@…> (09/13/25 14:44:01)
- Location:
- src
- Files:
-
- 2 edited
-
Actions/PotentialAction/FitCompoundPotentialAction.def (modified) (1 diff)
-
Potentials/PotentialTrainer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/FitCompoundPotentialAction.def
r5b8c49 r5d18f3 33 33 (STLVectorValidator< std::vector<const element *> >(1,99, ElementValidator())) \ 34 34 (PositiveValidator<unsigned int>()) \ 35 (PositiveValidator<double>() ) \35 (PositiveValidator<double>() && RangeValidator<double>(0.,1.)) \ 36 36 (PositiveValidator<unsigned int>()) 37 37 -
src/Potentials/PotentialTrainer.cpp
r5b8c49 r5d18f3 149 149 unsigned int runs=0; 150 150 // threshold overrules max_runs 151 const double threshold = _threshold;152 const unsigned int max_runs = ( threshold >= 1.) ? _best_of_howmany : std::numeric_limits<unsigned int>::max();151 const double threshold = (_threshold >= 1.) ? 0. : _threshold; 152 const unsigned int max_runs = (_threshold >= 1.) ? _best_of_howmany : std::numeric_limits<unsigned int>::max(); 153 153 LOG(1, "INFO: Maximum runs is " << max_runs << " and threshold set to " << threshold << "."); 154 154 do {
Note:
See TracChangeset
for help on using the changeset viewer.
