GuillaumeGomez / rust-GSL

A GSL (the GNU Scientific Library) binding for Rust
190 stars 46 forks source link

glfixed_point is broken #130

Closed H-M-H closed 1 year ago

H-M-H commented 1 year ago

gsl_integration_glfixed_point only returns a single (node, weight) pair and does not write all nodes and weights to arrays as implied here: https://github.com/GuillaumeGomez/rust-GSL/blob/c21148fc63946dfa8a19e9894d830fd6de28ce33/src/types/integration.rs#L818-L824

GuillaumeGomez commented 1 year ago

The Rust binding is completely wrong and shouldn't take xi and wi as arguments.