fix: remove bad condition

Recall that `processAssignmentFOApprox` will unfold `v` if possible.
This commit is contained in:
Leonardo de Moura 2020-03-06 10:55:39 -08:00
parent 482e078b92
commit bce4912505

View file

@ -616,7 +616,7 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl)
else
pure false;
let useFOApprox : Unit → MetaM Bool := fun _ =>
if cfg.foApprox && v.isApp then
if cfg.foApprox then
condM (processAssignmentFOApprox mvar args v)
(pure true)
(useConstApprox ())