compareDouble, not comparDouble

This commit is contained in:
AlgorithmX2 2014-08-05 21:05:54 -05:00
parent 61d79a804f
commit 12ec82d1b4
2 changed files with 2 additions and 2 deletions

View file

@ -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 );
}
}

View file

@ -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;