Forráskód Böngészése

changement double en Double

Arthur Brandao 6 éve
szülő
commit
b0a113564a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/migl/lisp/LispElement.java

+ 1 - 1
src/migl/lisp/LispElement.java

@@ -48,7 +48,7 @@ public class LispElement<E> {
 			BigInteger bi = (BigInteger) this.value;
 			return bi.doubleValue();
 		} else if(this.value.getClass() == Double.class) {
-			return (double) this.value;
+			return (Double) this.value;
 		}
 		throw new IllegalStateException("Value is not a number");
 	}