Skip to content

Commit

Permalink
return tuple when broadcasting equations
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Jan 8, 2025
1 parent 96ed571 commit c99c369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/equations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for the variables in `equations`. In particular, not the variables themselves ar
"""
@inline eachvariable(equations::AbstractEquations) = Base.OneTo(nvariables(equations))

Base.broadcastable(equations::AbstractEquations) = Ref(equations)
Base.broadcastable(equations::AbstractEquations) = (equations,)

@doc raw"""
AbstractShallowWaterEquations{NDIMS, NVARS}
Expand Down

0 comments on commit c99c369

Please sign in to comment.