crowlogic / arb4j

arb4j is a Java API for the arbitrary precision ball arithmetic library found at http://arblib.org
Other
1 stars 0 forks source link

fix this so -n is mapping to Integer instead of RealQuasiPolynomial Exception in thread "main" java.lang.AssertionError: TODO: raise 0.5*x to the power of -3 #436

Closed crowlogic closed 3 months ago

crowlogic commented 3 months ago

the type should be Integer since the simplest/"most natural" scalar type should be preferred and quasipolynomial types should only be used generally when no other representation will suffice

Exception in thread "main" java.lang.AssertionError: TODO: raise 0.5*x to the power of -3
    at arb4j/arb.RealQuasiPolynomial.pow(RealQuasiPolynomial.java:247)
    at arb4j/arb.functions.real.R.evaluate(R.java:62)
    at arb4j/arb.functions.real.R.evaluate(R.java:1)
    at arb4j/arb.functions.Function.evaluate(Function.java:301)
    at arb4j/arb.functions.Function.evaluate(Function.java:291)
    at arb4j/arb.functions.sequences.Sequence.evaluate(Sequence.java:51)
    at arb4j/arb.functions.real.R.main(R.java:14)