diff --git a/spec/par/par_simulation.spec.ts b/spec/par/par_simulation.spec.ts index 917b725f9d43043838a2feb905cbc57f843215d0..7cd2eea82232241111c648e62a01d3f1d972524d 100644 --- a/spec/par/par_simulation.spec.ts +++ b/spec/par/par_simulation.spec.ts @@ -106,8 +106,7 @@ describe("Class ParSimulation −", () => { // regime: ParFlowRegime.FREE message: MessageCode.WARNING_PAR_NOT_SUBMERGED }, - { - Z1: 14, // (dans Cv3, "calcul" est "off", sous-entendant que le calcul a raté ? Mais il y a tout de même des valeurs…) + { Z1: 14, // (dans Cv3, "calcul" est "off", sous-entendant que le calcul a raté ? Mais il y a tout de même des valeurs…) /* vCalc: 0.549, h: 0.937, ha: 4.64, diff --git a/spec/session/serialisation.spec.ts b/spec/session/serialisation.spec.ts index 304da3092c0f7cb182559a22d72eacf8def0b35f..e4ee9e74d7c180ec5a171fcceaf718906cea04f4 100644 --- a/spec/session/serialisation.spec.ts +++ b/spec/session/serialisation.spec.ts @@ -502,7 +502,7 @@ describe("PreBarrage - ", () => { expect(pb.prms.Z2.singleValue).toBe(90.0101); expect(pb.prms.Z1.valueMode).toBe(ParamValueMode.CALCUL); expect(pb.calculatedParam.symbol).toBe("Z1"); - + const b1: PbBassin = pb.findChild("M3AxbT") as PbBassin; expect(b1.prms.S.singleValue).toBe(0.111); expect(b1.prms.ZF.singleValue).toBe(42.11); diff --git a/src/prebarrage/pre_barrage.ts b/src/prebarrage/pre_barrage.ts index ff4af6d4aeaf74cff3226c8d2b28649302851a21..4456619b51cab116c49cb45cef380c74c6dd12c1 100644 --- a/src/prebarrage/pre_barrage.ts +++ b/src/prebarrage/pre_barrage.ts @@ -219,7 +219,7 @@ export class PreBarrage extends Nub { } this._children = tmp; } // else already at the right position, do nothing - this.updatePointers(); + this.updatePointers(); } /**