Skip to content

Commit

Permalink
Add fallback dispatch for hasindex, hasvariable
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Sep 22, 2023
1 parent 6651f71 commit 54343e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interface/fallback.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ id(src) = id(backend(src))
description(src) = description(backend(src))
metadata(src) = metadata(backend(src))
index(src, v) = index(backend(src), v)
hasindex(src, i) = hasindex(backend(src), i)
indices(src) = indices(backend(src))
variable(src, i) = variable(backend(src), i)
hasvariable(src, v) = hasvariable(backend(src), v)
variables(src) = variables(backend(src))

Check warning on line 31 in src/interface/fallback.jl

View check run for this annotation

Codecov / codecov/patch

src/interface/fallback.jl#L16-L31

Added lines #L16 - L31 were not covered by tests

# Model's Normal Forms
Expand Down

0 comments on commit 54343e9

Please sign in to comment.