diff --git a/engine-proto/gram-test/circles-in-triangle.jl b/engine-proto/gram-test/circles-in-triangle.jl index f7248df..1bd22a7 100644 --- a/engine-proto/gram-test/circles-in-triangle.jl +++ b/engine-proto/gram-test/circles-in-triangle.jl @@ -12,22 +12,22 @@ for j in 1:9 for k in 1:9 filled = false if j == 9 - if (k <= 5 && k != 2) + if k <= 5 && k != 2 push!(values, 0) filled = true end elseif k == 9 - if (j <= 5 && j != 2) + if j <= 5 && j != 2 push!(values, 0) filled = true end elseif j == k push!(values, 1) filled = true - elseif (j == 1 || k == 1) + elseif j == 1 || k == 1 push!(values, 0) filled = true - elseif (j == 2 || k == 2) + elseif j == 2 || k == 2 push!(values, -1) filled = true end diff --git a/engine-proto/gram-test/sphere-in-tetrahedron.jl b/engine-proto/gram-test/sphere-in-tetrahedron.jl index 1c36e99..97f0720 100644 --- a/engine-proto/gram-test/sphere-in-tetrahedron.jl +++ b/engine-proto/gram-test/sphere-in-tetrahedron.jl @@ -24,7 +24,7 @@ for j in 1:6 elseif j == k push!(values, 1) filled = true - elseif (j <= 4 && k <= 4) + elseif j <= 4 && k <= 4 push!(values, -1/BigFloat(3)) filled = true else