From 2bc244cae7d9fd8049b024d6b17ce728e1c84709 Mon Sep 17 00:00:00 2001 From: "p.vanderwilt" Date: Fri, 26 Sep 2025 16:36:09 +0200 Subject: [PATCH] Refactor measurement update handling in Reactor_PFR class to include default case for measurement types --- src/specificClass.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/specificClass.js b/src/specificClass.js index 36ce54e..75100d7 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -326,8 +326,9 @@ class Reactor_PFR extends Reactor { grid_pos = Math.round(position / this.config.length * this.n_x); this.state[grid_pos][S_O_INDEX] = value; // naive approach for reconciling measurements and simulation break; + default: + super._updateMeasurement(measurementType, value, position, context); } - super._updateMeasurement(measurementType, value, position, context); } /**