Skip to content

Commit

Permalink
Merge pull request #52 from JuliaStats/anj/macro
Browse files Browse the repository at this point in the history
Fix check_argdims macro
  • Loading branch information
andreasnoack authored Dec 9, 2016
2 parents d596230 + c6794f3 commit 83d2440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
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 83d2440

Please sign in to comment.