Skip to content

Commit

Permalink
Fix check_argdims macro
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Dec 8, 2016
1 parent d596230 commit c6794f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Expand Up @@ -3,7 +3,7 @@

macro check_argdims(cond)
quote
($(cond)) || throw(DimensionMismatch("Inconsistent argument dimensions."))
($(esc(cond))) || throw(DimensionMismatch("Inconsistent argument dimensions."))
end
end

Expand Down

0 comments on commit c6794f3

Please sign in to comment.