Skip to content

Commit 2ee896c

Browse files
committed
small change to test_units
1 parent 72caffc commit 2ee896c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_units.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ end
137137
!has_cos(member.tree) || any(
138138
t ->
139139
t.degree == 1 &&
140-
options.operators.unaops[t.op] == cos &&
141-
Node(Float64; feature=1) in t &&
142-
compute_complexity(t, options) > 1,
140+
options.operators.unaops[t.op] == cos &&
141+
Node(Float64; feature=1) in t &&
142+
compute_complexity(t, options) > 1,
143143
get_tree(member.tree),
144144
) for member in dominating
145145
]
@@ -430,6 +430,7 @@ end
430430
end
431431

432432
@testitem "Miscellaneous tests of unit interface" tags = [:part3] begin
433+
using MLJBase
433434
using SymbolicRegression
434435
using DynamicQuantities
435436
using SymbolicRegression.DimensionalAnalysisModule: @maybe_return_call, WildcardQuantity

0 commit comments

Comments
 (0)