From f083e7596ae2f02ed7e2c01f91ba89e914bec476 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Thu, 20 Nov 2025 22:29:24 +0100 Subject: [PATCH] update --- src/specificClass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specificClass.js b/src/specificClass.js index c8bf307..38117af 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -639,7 +639,7 @@ _callMeasurementHandler(measurementType, value, position, context) { const {efficiencyCurve, peak, peakIndex, minEfficiency } = this.calcEfficiencyCurve(powerCurve, flowCurve); // Calculate the normalized center of gravity - const NCog = (flowCurve.y[peakIndex] - this.predictFlow.currentFxyYMin) / (this.predictFlow.currentFxyYMax - this.predictFlow.currentFxyYMin); + const NCog = (flowCurve.y[peakIndex] - this.predictFlow.currentFxyYMin) / (this.predictFlow.currentFxyYMax - this.predictFlow.currentFxyYMin); // //store in object for later retrieval this.currentEfficiencyCurve = efficiencyCurve;