Skip to content

Commit

Permalink
fix a bug in factoring
Browse files Browse the repository at this point in the history
  • Loading branch information
tlringer committed Feb 26, 2018
1 parent a75afde commit f20c67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/core/components/factoring/factoring.ml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let rec find_path (env : env) (trm : types) : factors =
let assume_arg i a = apply_assumption (Array.get paths i) a in
let args_assumed = Array.mapi assume_arg args in
try
let t = unshift (infer_type env_arg arg) in
let t = unshift (reduce_term env_arg (infer_type env_arg arg)) in
(assume env Anonymous t, mkApp (f, args_assumed)) :: path
with _ ->
[]
Expand Down

0 comments on commit f20c67b

Please sign in to comment.