Skip to content

Commit

Permalink
Revise is not happy about this. type assert fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
michel2323 committed Jun 9, 2019
1 parent 3eada4f commit c66d8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StructJuMP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ end
# Get functions
# -------------

getStructure(m::JuMP.Model) = m.ext[:Stochastic]::StructureData
getStructure(m::JuMP.Model) = m.ext[:Stochastic]
getparent(m::JuMP.Model) = getStructure(m).parent
getchildren(m::JuMP.Model) = getStructure(m).children::Dict{Int,JuMP.Model}
getprobability(m::JuMP.Model) = getStructure(m).probability::Dict{Int, Float64}
Expand Down

0 comments on commit c66d8c1

Please sign in to comment.