memilio
memilio copied to clipboard
Get_default of Parameter HighViralLoadProtectionFactor doesn't work as expected
Bug description
When you don't set HighViralLoadProtectionFactor it should default to a function which goves back 0.0 every time. This thrwos an error std::bad_function_call for me.
Version
Any
To reproduce
- comment out any simulation part where HighViralLoadProtectionFactor is set
- run simulation till the variable high_viral_load_factor is used in infection
- error
Relevant log output
libc++abi: terminating due to uncaught exception of type std::__1::bad_function_call: std::exception
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
- [X] Attached labels, especially loc:: or model:: labels.
- [X] Linked to project