Skip to content

Commit 154dd34

Browse files
committed
Fix formatting
1 parent ae1d525 commit 154dd34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/test_evaluation.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ for turbo in [false, true], T in [Float16, Float32, Float64], fnc in functions
6868
@test all(abs.(test_y .- true_y) / N .< zero_tolerance)
6969
end
7070

71-
7271
for turbo in [false, true], T in [Float16, Float32, Float64]
7372
turbo && T == Float16 && continue
7473
# Test specific branches of evaluation code:
@@ -99,16 +98,15 @@ for turbo in [false, true], T in [Float16, Float32, Float64]
9998
@test DynamicExpressions.EvaluateEquationModule.deg1_l2_ll0_lr0_eval(
10099
tree, [zero(T)]', Val(1), Val(1), operators, Val(turbo)
101100
)[1][1] truth
102-
101+
103102
# Test for presence of NaNs:
104103
operators = OperatorEnum(; binary_operators=[+, -, *, /], unary_operators=[cos, sin])
105104
x1 = Node(T; feature=1)
106105
tree = sin(x1 / 0.0)
107-
X = randn(Float32, 3, 10);
106+
X = randn(Float32, 3, 10)
108107
@test isnan(tree(X)[1])
109108
end
110109

111-
112110
# And, with generic operator enum, this should be an actual error:
113111
operators = GenericOperatorEnum(; binary_operators=[+, -, *, /], unary_operators=[cos, sin])
114112
x1 = Node(Float64; feature=1)

0 commit comments

Comments
 (0)