Skip to content

Commit

Permalink
Fix a test due to Term arguments eltype change
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
bowenszhu committed Sep 30, 2024
1 parent 9944031 commit b42e9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/macro.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Symbolics
import Symbolics: CallWithMetadata, getsource, getdefaultval, wrap, unwrap, getname
import SymbolicUtils: _Term, symtype, FnType, BasicSymbolic, promote_symtype
import SymbolicUtils: _Term, symtype, FnType, BasicSymbolic, promote_symtype, Symbolic
using LinearAlgebra
using Test

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

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

0 comments on commit b42e9f9

Please sign in to comment.