Skip to content

Commit b3afe7a

Browse files
committed
Formatting
1 parent 230d484 commit b3afe7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Pivoting.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ function pivot!(T::Tableau, i::Int, j::Int)
5151
M[i, :] .//= mij
5252

5353
# clear other entries in column j
54-
for a = 1:T.n_cons+1
55-
if a == i
54+
for a in 1:(T.n_cons + 1)
55+
if a == i
5656
continue
5757
end
58-
M[a,:] += -M[a,j] * M[i,:]
58+
M[a, :] += -M[a, j] * M[i, :]
5959
end
6060

6161
return T

0 commit comments

Comments
 (0)