SuperFluffy / rust-expm

Matrix exponentials in Rust
Apache License 2.0
8 stars 7 forks source link

Remove unnecessary unsafe usage; fixes #1 #2

Closed SuperFluffy closed 5 years ago

SuperFluffy commented 5 years ago

unsafe code is removed by either initializing objects with a default value, or by hardcoding mutable static variables as consts.

The only use of unsafe remaining are calls to ffi.