fix grid update

This commit is contained in:
Hannes Signer 2025-12-11 11:13:25 +01:00
parent 0ac85d5db0
commit caf35851b5

View File

@ -386,9 +386,9 @@ static Rcpp::List RunMasterLoop(RInsidePOET &R, const RuntimeParameters &params,
// data frame with elements that are used as ai outputs for the
// retraining step.
if (params.ai || params.copy_non_reactive_regions) {
chem.getField().update(diffusion.getField());
chem.getField().update(diffusion.getField());
if (params.ai || params.copy_non_reactive_regions) {
R["TMP"] = Rcpp::wrap(chem.getField().AsVector());
R.parseEval(