Changeset 1298 for trunk/java-utils/src/main/java/de
- Timestamp:
- 08/16/13 10:43:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils/src/main/java/de/ugoe/cs/util/ArrayTools.java
r1297 r1298 112 112 public static int findMax(double[] array) { 113 113 int maxIndex = -1; 114 double maxElement = Double.MIN_VALUE;114 double maxElement = -Double.MAX_VALUE; 115 115 if (array != null) { 116 116 for (int i = 0; i < array.length; i++) {
Note: See TracChangeset
for help on using the changeset viewer.