display a warning in case an assert fails
In ns3d.strat.output.spect_energy_budget
, an assert
seems to fail sometimes. The fail is hard to get in a reproducible manner. I put the assert
test in a try
block with a warning, and simulations seem to fine even when the warning is triggered.