Commit ae63f7aa authored by Anastasiia's avatar Anastasiia

for div-by-zero subdivide remainder too

parent b14a05a8
......@@ -199,7 +199,7 @@ object RelativeErrorPhase extends DaisyPhase with Subdivision with ErrorFunction
reporter.info("Computing the error ...")
// fixme for div-by-zero benchmarks subdivision parameter should be greater than 0
val remainderMap = getEqualSubintervals(inputValMap, divLimit, 0)
val remainderMap = getEqualSubintervals(inputValMap, divLimit, 4)
val taylorRemainder = getTaylorRemainder(relErrorExpr, remainderMap)
reporter.info(s"The taylor remainder value is $taylorRemainder")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment