Skip to content

Commit

Permalink
small bugfix assert_rref
Browse files Browse the repository at this point in the history
  • Loading branch information
CopperCableIsolator committed Dec 19, 2024
1 parent 37190f4 commit d7da9c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ module ListMatrix: AbstractMatrix =
| [] -> true
| (pr, pc)::ps ->
let target = if pr <> i then A.zero else A.one in
if V.nth v pc <> target then false else validate_vec ps
if V.nth v pc <>: target then false else validate_vec ps
in if validate_vec pivot_l then validate vs (i+1) else raise (Invalid_argument "Matrix not in rref: pivot column not empty!")
in validate m 0

Expand Down

0 comments on commit d7da9c7

Please sign in to comment.