Changeset 4d8385
- Timestamp:
- Aug 31, 2016, 2:06:50 PM (9 years ago)
- Branches:
- Gui_Fixes
- Children:
- 85056e
- Parents:
- b9180c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/PotentialTrainer.cpp
rb9180c9 r4d8385 80 80 "PotentialTrainer::operator() - model is NULL."); 81 81 82 if (model->begin() == model->end()) { 83 ELOG(1, "Could not find any suitable potentials for the compound potential."); 84 return false; 82 { 83 CompoundPotential *compound = static_cast<CompoundPotential *>(model); 84 if (compound->begin() == compound->end()) { 85 ELOG(1, "Could not find any suitable potentials for the compound potential."); 86 return false; 87 } 85 88 } 86 89
Note:
See TracChangeset
for help on using the changeset viewer.