Skip to content

Commit

Permalink
Disable assert that can be false with semantics dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
PFGimenez committed May 17, 2020
1 parent 7826194 commit 0f4fbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/inference.ml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ let search (oracle: Oracle.t) (inference_g: grammar option) (quotient_g: grammar
(* print_endline (string_of_ext_grammar inj_g); *)
assert (word <> None);
let word = Option.get word in
assert (Quotient.is_in_language quotient e word);
(* assert (Quotient.is_in_language quotient e word); *)
let word_str = string_of_word word in (* there is always a word as the trivial injection always works *)
let status = Oracle.call oracle word_str in
if status = Syntax_error then invalid_words := word::!invalid_words;
Expand Down

0 comments on commit 0f4fbcb

Please sign in to comment.