Skip to content
Snippets Groups Projects
Commit 0ce50b8a authored by Jad Hamza's avatar Jad Hamza Committed by Nicolas Voirol
Browse files

Check purity of tuples by checking that all components are pure

parent 2d898055
No related branches found
No related tags found
1 merge request!99Check purity of tuples by checking that all components are pure
......@@ -282,7 +282,7 @@ trait SimplifierWithPC extends Transformer { self =>
}
case _ => Tuple(es)
},
pes.foldLeft(false)(_ || _))
pes.foldLeft(true)(_ && _))
case Forall(params, body) =>
simplifyAndCons(Seq(body), path withBounds params, es => simpForall(params, es.head).copiedFrom(e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment