Commit 5b85fcc8 authored by Anastasiia's avatar Anastasiia

add filtering for epsilons where deltas are filtered

parent 3ebeb47e
......@@ -192,7 +192,7 @@ object RelativeErrorPhase extends DaisyPhase with Subdivision with ErrorFunction
// output subintervals without deltas
for (entry <- newSet){
reporter.debug("============================================")
for (mapEntry <- entry if !mapEntry._1.isDeltaId)
for (mapEntry <- entry if (!(mapEntry._1.isDeltaId|| mapEntry._1.isEpsilonId)))
reporter.debug(mapEntry._1 + " -> " + mapEntry._2)
}
reporter.debug(s"We need to evaluate expression on "+newSet.size+" intervals")
......@@ -500,7 +500,7 @@ object RelativeErrorPhase extends DaisyPhase with Subdivision with ErrorFunction
while (tmp == 0 && iterator.hasNext){
val (id, interval) = iterator.next()
if (!id.isDeltaId) {
if (!(id.isDeltaId|| id.isEpsilonId)) {
tmp = compareIntervals(interval, second(id))
}
......
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