aboutsummaryrefslogtreecommitdiffstats
path: root/src/Verismith/Reduce.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Verismith/Reduce.hs')
-rw-r--r--src/Verismith/Reduce.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Verismith/Reduce.hs b/src/Verismith/Reduce.hs
index cff61ed..69b5e17 100644
--- a/src/Verismith/Reduce.hs
+++ b/src/Verismith/Reduce.hs
@@ -613,9 +613,9 @@ reduceSynth datadir a b = reduce synth
runSynth b src'
runEquiv datadir a b src'
return $ case r of
- Fail EquivFail -> True
- Fail _ -> False
- Pass _ -> False
+ Fail (EquivFail _) -> True
+ Fail _ -> False
+ Pass _ -> False
reduceSynthesis :: (Synthesiser a, MonadSh m) => a -> SourceInfo -> m SourceInfo
reduceSynthesis a = reduce synth