compareDouble, not comparDouble
This commit is contained in:
parent
61d79a804f
commit
12ec82d1b4
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ public class EnergyThreshold implements Comparable<EnergyThreshold>
|
|||
@Override
|
||||
public int compareTo(EnergyThreshold o)
|
||||
{
|
||||
return ItemSorters.comparDouble( Limit, o.Limit );
|
||||
return ItemSorters.compareDouble( Limit, o.Limit );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ public class ItemSorters
|
|||
return 1;
|
||||
}
|
||||
|
||||
public static int comparDouble(double a, double b)
|
||||
public static int compareDouble(double a, double b)
|
||||
{
|
||||
if ( a == b )
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue