Skip to content

Commit bb57b79

Browse files
committed
Properly escape macro hygiene
1 parent cc1953d commit bb57b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/matrixalgebrakit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ macro check_eltype(x, y, f=:identity, g=:eltype)
1818
else
1919
msg *= string(f) * "(" * string(y) * ")"
2020
end
21-
return :($g($x) == $f($g($y)) || throw(ArgumentError($msg)))
21+
return esc(:($g($x) == $f($g($y)) || throw(ArgumentError($msg))))
2222
end
2323

2424
# function factorisation_scalartype(::typeof(MAK.eig_full!), t::AbstractTensorMap)

0 commit comments

Comments
 (0)