Skip to content

Commit

Permalink
bugfix: fixed max/min initial values for steel util
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikaLos committed Dec 16, 2024
1 parent 313d612 commit e563215
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ namespace GsaGH.Parameters.Results {
public static partial class ExtremaKeyUtility {
public static (SteelUtilisationExtremaKeys Max, SteelUtilisationExtremaKeys Min) GetSteelUtilisationExtremaKeys<T>(
this IDictionary<int, IList<T>> subset) {

var maxValue = new SteelUtilisation(double.MaxValue);
var minValue = new SteelUtilisation(0.0);
var maxValue = new SteelUtilisation(double.MinValue);
var minValue = new SteelUtilisation(double.MaxValue);

var maxKeys = new SteelUtilisationExtremaKeys();
var minKeys = new SteelUtilisationExtremaKeys();
Expand Down

0 comments on commit e563215

Please sign in to comment.