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