Skip to content

Commit

Permalink
BugFix CalcVarioRange [ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias Ruemmler committed Apr 29, 2021
1 parent b2497a9 commit aa701cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlowCalc/Pump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ public Tuple<double[], double[]> GetPerformanceRange()
//Nur Schnittpunkte im gültigen Bereich heranzihene
var upperLimitQ = GetPerformanceFlowValues(maxRpm).Max();

var lowerCrossPoint = HelpFunctions.CutOutRange(pLower.GetCrossPoints(pQCut), 0, upperLimitQ);
var upperCrossPoint = HelpFunctions.CutOutRange(pUpper.GetCrossPoints(pQCut), 0, upperLimitQ);
var lowerCrossPoint = HelpFunctions.CutOutRange(pLower.GetCrossPoints(pQCut), 0, upperLimitQ+1);
var upperCrossPoint = HelpFunctions.CutOutRange(pUpper.GetCrossPoints(pQCut), 0, upperLimitQ+1);


HelpFunctions.CutOutRange(pLower.GetCrossPoints(pQCut), 0, upperLimitQ);
Expand Down

0 comments on commit aa701cc

Please sign in to comment.