haskell-numerics / hmatrix

Linear algebra and numerical computation
381 stars 104 forks source link

Print errors to stderr #240

Closed idontgetoutmuch closed 7 years ago

idontgetoutmuch commented 7 years ago

@albertoruiz

Did you want me to do the same for the other packages?

I noticed this

    switch(method) {
        case 0 : {T = gsl_root_fsolver_bisection; printf("7\n"); break; }
        case 1 : {T = gsl_root_fsolver_falsepos; break; }
        case 2 : {T = gsl_root_fsolver_brent; break; }
        default: ERROR(BAD_CODE);

Any ideas why there would be a printf("7\n") randomly in there?

idontgetoutmuch commented 7 years ago

Ah wait a minute - I missed a printf - my find . -type f -name "*.c" -exec grep -nH -e printf {} + missed one for some reason.

idontgetoutmuch commented 7 years ago

Ok - should be good to go now.

albertoruiz commented 7 years ago

Much better, yes.

Thanks!