Menu

Commit [r25282]  Maximize  Restore  History

Bug fix for the chi-squared gradient calculation in the C module.

The definition of the square() function needed extra brackets so that the 1/error**2 calculation
would be 1/(error*error) rather than the incorrect 1/error*error form.

bugman 2014-08-26

changed /trunk/target_functions/c_chi2.c
/trunk/target_functions/c_chi2.c 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.