spectre-project / rusty-spectre

Spectre full-node, wallet and related libraries in the Rust programming language.
ISC License
14 stars 5 forks source link

remove unnecessary conditions in `Matrix::compute_rank` #16

Open x100111010 opened 3 weeks ago

x100111010 commented 3 weeks ago

by @Slixe

In fn compute_rank(&self) remove the if condition previously used to remove the bounds check. According to the issue linked (https://github.com/rust-lang/rust/issues/90794) it has been fixed since 1.72.

@0xA001113 We should check if we can make more improvements like this.