There are still some problems with possible discrepancies between the pompparams slot and the panelPomp parameters. In this pull request, the panelPomp constructor deletes the params in the pomp. This causes an error in pomp::mif2 unless the slot is refilled. This fix seems not to go to the root of the problem, which is that there is little to stop a mismatch arising between the two locations, with consequent (potentially hard to debug) bugs.
There are still some problems with possible discrepancies between the pomp
params
slot and the panelPomp parameters. In this pull request, the panelPomp constructor deletes theparams
in the pomp. This causes an error in pomp::mif2
unless the slot is refilled. This fix seems not to go to the root of the problem, which is that there is little to stop a mismatch arising between the two locations, with consequent (potentially hard to debug) bugs.