-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
class::discussionUsed for discussions on software and model .Used for discussions on software and model .
Description
Bug description
There appears to be an inconsistency in overload resolution for test_commuters depending on how mio::Graph is instantiated.
Observed behavior
If we define the graph in examples/ode_secir_graph.cpp as:
mio::Graph<mio::SimulationNode<FP, mio::osecir::Simulation<FP>>, mio::MobilityEdge<FP>> g;then the correct test_commuters overload of the SECIR model is found (by correcting #1383, #1384).
However, if we instead define it as:
mio::Graph<mio::SimulationNode<FP, mio::Simulation<FP, mio::osecir::Model<FP>>>, mio::MobilityEdge<FP>> g;the correct SECIR overload of test_commuters is not selected and instead the empty fallback version is used.
Is that intentional or a bug?
Version
Windows
To reproduce
./../build/bin/ode_secir_graph_example
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
- Attached labels, especially loc:: or model:: labels.
- Linked to project
Metadata
Metadata
Assignees
Labels
class::discussionUsed for discussions on software and model .Used for discussions on software and model .