Skip to content

Commit

Permalink
Remove extra blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 26, 2019
1 parent 128420e commit 6524533
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,6 @@ macro expression(args...)
variable = gensym()

refcall, idxvars, idxsets, condition = _build_ref_sets(c, variable)

newaff, parsecode = _parse_expr_toplevel(x, :q)
code = quote
q = Val{false}()
Expand Down Expand Up @@ -1415,7 +1414,6 @@ macro variable(args...)
# We now build the code to generate the variables (and possibly the
# SparseAxisArray to contain them)
refcall, idxvars, idxsets, condition = _build_ref_sets(var, variable)

clear_dependencies(i) = (Containers.is_dependent(idxvars,idxsets[i],i) ? () : idxsets[i])

# Code to be used to create each variable of the container.
Expand Down Expand Up @@ -1533,7 +1531,6 @@ macro NLconstraint(m, x, extra...)
# Strategy: build up the code for non-macro add_constraint, and if needed
# we will wrap in loops to assign to the ConstraintRefs
refcall, idxvars, idxsets, condition = _build_ref_sets(c, variable)

# Build the constraint
if isexpr(x, :call) # one-sided constraint
# Simple comparison - move everything to the LHS
Expand Down Expand Up @@ -1633,7 +1630,6 @@ macro NLexpression(args...)
variable = gensym()

refcall, idxvars, idxsets, condition = _build_ref_sets(c, variable)

code = quote
$(refcall) = NonlinearExpression($(esc(m)), $(_process_NL_expr(m, x)))
end
Expand Down Expand Up @@ -1702,7 +1698,6 @@ macro NLparameter(m, ex, extra...)
variable = gensym()

refcall, idxvars, idxsets, condition = _build_ref_sets(c, variable)

code = quote
if !isa($(esc(x)), Number)
error(string("in @NLparameter (", $(string(ex)), "): expected ",
Expand Down

0 comments on commit 6524533

Please sign in to comment.