Minor changes to Restraint::evaluate, safe_evaluate
23 Sep
2009
23 Sep
'09
6:34 a.m.
Restraint::evaluate() now always should return the correct answer (before it could return garbage if not called from Model::evaluate()). Internally, restraints now have a function Restraint::unprotected_evaluate() which does the actual evaluation (and is what you implement when you implement a restraint). Restraint::evaluate() makes sure the model's score states are updated before calling Restriant::unprotected_evaluate().
5540
Age (days ago)
5540
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Russel