Changeset 5d18f3 for src/Potentials/PotentialTrainer.cpp
- 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)
- File:
-
- 1 edited
-
src/Potentials/PotentialTrainer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
