[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] Several small patches



First I added a pair of functions internal::assert_failure and internal::check_failure which get called when assertions and checks fail. You can have the debugger break in these to find failures.

Attachment: error_func
Description: Binary data




The derivative accumulator checks for NaN.

Attachment: da_nan
Description: Binary data




And finally ConjugateGradients wasn't initializing its threshold_ member variable.

Attachment: cg_init
Description: Binary data