You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_producers_dense_index() and get_consumers_dense_index() do not return the expected values.
While get_producers_sparse_index() and get_consumers_sparse_index() return the right indices.
vegan =Foodweb([:ours=>:plant])
m =default_model(vegan)
# Ours is one, plant is two
julia>get_species_names(m)
2-element EcologicalNetworksDynamics.SpeciesNames::ours:plant# *_dense_index is wrong
julia>get_producers_dense_index(m)
OrderedCollections.OrderedDict{Symbol, Int64} with 1 entry::plant=>1
julia>get_producers_sparse_index(m)
OrderedCollections.OrderedDict{Symbol, Int64} with 1 entry::plant=>2
vegan =Foodweb([00; 01]);
m =default_model(vegan, Species([:plant, :ours]));
# Plant is one, ours is two
julia>get_species_names(m)
2-element EcologicalNetworksDynamics.SpeciesNames::plant:ours# *_dense_index is wrong
julia>get_consumers_dense_index(m)
OrderedCollections.OrderedDict{Symbol, Int64} with 1 entry::ours=>1
julia>get_consumers_sparse_index(m)
OrderedCollections.OrderedDict{Symbol, Int64} with 1 entry::ours=>2
It is a very minor issue I guess.
The text was updated successfully, but these errors were encountered:
get_producers_dense_index()
andget_consumers_dense_index()
do not return the expected values.While
get_producers_sparse_index()
andget_consumers_sparse_index()
return the right indices.It is a very minor issue I guess.
The text was updated successfully, but these errors were encountered: