fff-rs / juice

The Hacker's Machine Learning Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warnings in bandmat

drahnr opened this issue · comments

There are still a bunch of warnings in bandmat that would love be removed :)

warning: value assigned to `v1` is never read

   --> rust-blas/src/math/bandmat.rs:367:17

    |

367 |         let mut v1 = vec![];

    |                 ^^

    |

    = note: `#[warn(unused_assignments)]` on by default

    = help: maybe it is overwritten before being read?


warning: function is never used: `write_to_memory`

   --> rust-blas/src/math/bandmat.rs:366:8

    |

366 |     fn write_to_memory<T: Clone>(dest: *mut T, source: &Vec<T>) -> () {

    |        ^^^^^^^^^^^^^^^

    |

    = note: `#[warn(dead_code)]` on by default


warning: function is never used: `retrieve_memory`

   --> rust-blas/src/math/bandmat.rs:375:8

    |

375 |     fn retrieve_memory<T: Clone>(t: &mut dyn Matrix<T>, l: usize) -> Vec<T> {

    |        ^^^^^^^^^^^^^^^

Yep, i'll fix it soon. I'll mute the warnings for this one.

i'll fix it soon
29 days
i promise :P

No worries, this is really a minor thing - whenever works for you :)