Menu

Commit [r20305]  Maximize  Restore  History

Improvement of the error handling in the 'NS 2-site star' model.

The fA and pB parameters are no longer being checked. Instead a Mgx value of 0.0 is being checked
for. This catches additional problems. And now instead of the R2eff value being set to zero, it is
set to 1e99. This is because log of zero is -inf, and then multiplied by a negative constant gives
positive inf.

bugman 2013-07-15

changed /branches/relax_disp/lib/dispersion/ns_2site_star.py
changed /branches/relax_disp/target_functions/relax_disp.py
/branches/relax_disp/lib/dispersion/ns_2site_star.py Diff Switch to side-by-side view
Loading...
/branches/relax_disp/target_functions/relax_disp.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.