Skip to content

Commit b041f09

Browse files
authored
Merge pull request #372 from YichiZhang0613/fix_inconsistency
fix: inconsistency between comment and code
2 parents 2271382 + 437f8c8 commit b041f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/gcd/matrix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl Matrix {
120120
///
121121
/// # Panics
122122
///
123-
/// Panics if `r1 < r0`.
123+
/// Panics if `r0 < r1`.
124124
// OPT: Would this be faster using extended binary gcd?
125125
// See <https://en.algorithmica.org/hpc/algorithms/gcd>
126126
#[inline]

0 commit comments

Comments
 (0)