Skip to content

Commit

Permalink
Remove @Req
Browse files Browse the repository at this point in the history
  • Loading branch information
mgkurtz committed Oct 30, 2023
1 parent de2df7a commit f6d240b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/misc/VarNames.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const VarNames = Union{
}

req(cond, msg) = cond || throw(ArgumentError(msg))
# The macro version will only evaluate `msg` if needed
macro req(cond, msg) :($cond || throw(ArgumentError($msg))) end

@doc raw"""
variable_names(a...) -> Vector{Symbol}
Expand Down

0 comments on commit f6d240b

Please sign in to comment.