Skip to content

Commit b42e9f9

Browse files
committed
Fix a test due to Term arguments eltype change
[skip ci]
1 parent 9944031 commit b42e9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/macro.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Symbolics
22
import Symbolics: CallWithMetadata, getsource, getdefaultval, wrap, unwrap, getname
3-
import SymbolicUtils: _Term, symtype, FnType, BasicSymbolic, promote_symtype
3+
import SymbolicUtils: _Term, symtype, FnType, BasicSymbolic, promote_symtype, Symbolic
44
using LinearAlgebra
55
using Test
66

@@ -75,7 +75,7 @@ _args = [[a 2a; 4a 6a; 3a 5a], [4a, 6a]]
7575
hh = ccwa(_args...)
7676
@test size(hh) == (3, 2, 10)
7777
@test eltype(hh) == Real
78-
@test isequal(arguments(unwrap(hh)), unwrap.(_args))
78+
@test isequal(arguments(unwrap(hh)), convert(Vector{SymbolicUtils.Symbolic}, map(x -> unwrap.(x), _args)))
7979

8080
@test all(t->getsource(t)[1] === :variables, many_vars)
8181
@test getdefaultval(t) == 0

0 commit comments

Comments
 (0)