Clean up example formatting
This commit is contained in:
parent
71c10adbdd
commit
19a4d49497
@ -12,22 +12,22 @@ for j in 1:9
|
|||||||
for k in 1:9
|
for k in 1:9
|
||||||
filled = false
|
filled = false
|
||||||
if j == 9
|
if j == 9
|
||||||
if (k <= 5 && k != 2)
|
if k <= 5 && k != 2
|
||||||
push!(values, 0)
|
push!(values, 0)
|
||||||
filled = true
|
filled = true
|
||||||
end
|
end
|
||||||
elseif k == 9
|
elseif k == 9
|
||||||
if (j <= 5 && j != 2)
|
if j <= 5 && j != 2
|
||||||
push!(values, 0)
|
push!(values, 0)
|
||||||
filled = true
|
filled = true
|
||||||
end
|
end
|
||||||
elseif j == k
|
elseif j == k
|
||||||
push!(values, 1)
|
push!(values, 1)
|
||||||
filled = true
|
filled = true
|
||||||
elseif (j == 1 || k == 1)
|
elseif j == 1 || k == 1
|
||||||
push!(values, 0)
|
push!(values, 0)
|
||||||
filled = true
|
filled = true
|
||||||
elseif (j == 2 || k == 2)
|
elseif j == 2 || k == 2
|
||||||
push!(values, -1)
|
push!(values, -1)
|
||||||
filled = true
|
filled = true
|
||||||
end
|
end
|
||||||
|
@ -24,7 +24,7 @@ for j in 1:6
|
|||||||
elseif j == k
|
elseif j == k
|
||||||
push!(values, 1)
|
push!(values, 1)
|
||||||
filled = true
|
filled = true
|
||||||
elseif (j <= 4 && k <= 4)
|
elseif j <= 4 && k <= 4
|
||||||
push!(values, -1/BigFloat(3))
|
push!(values, -1/BigFloat(3))
|
||||||
filled = true
|
filled = true
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user