Skip to content

Commit 572329d

Browse files
amontoisongdalle
andauthored
Apply suggestions from code review
Co-authored-by: Guillaume Dalle <22795598+gdalle@users.noreply.github.com>
1 parent de6bdde commit 572329d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/check.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ A bipartition of the rows and columns of a matrix `A` is _structurally biorthogo
130130
1. the group containing the column `A[:, j]` has no other column with a nonzero in row `i`
131131
2. the group containing the row `A[i, :]` has no other row with a nonzero in column `j`
132132
133-
It is equivalent to an __star bicoloring__.
133+
It is equivalent to a __star bicoloring__.
134134
135135
!!! warning
136136
This function is not coded with efficiency in mind, it is designed for small-scale tests.

test/check.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ end
233233

234234
# success
235235

236-
substitutable_columns(A1, B1, [1, 2, 2, 2, 2])
237-
substitutable_columns(A2, B2, [1, 2, 3, 1, 2])
238-
substitutable_columns(A3, B3, [1, 2, 3, 4, 0])
236+
@test substitutable_columns(A1, B1, [1, 2, 2, 2, 2])
237+
@test substitutable_columns(A2, B2, [1, 2, 3, 1, 2])
238+
@test substitutable_columns(A3, B3, [1, 2, 3, 4, 0])
239239

240240
# failure
241241

@@ -298,7 +298,7 @@ end
298298

299299
# success
300300

301-
substitutable_bidirectional(A, B, [1, 0, 0], [0, 1, 1])
301+
@test substitutable_bidirectional(A, B, [1, 0, 0], [0, 1, 1])
302302

303303
# failure
304304

0 commit comments

Comments
 (0)