Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fja
eval
Commits
75446557
Commit
75446557
authored
Apr 13, 2021
by
Vladimír Štill
Browse files
lib: Produce partial counterexamples, but be faster
parent
b877176d
Pipeline
#79992
passed with stage
in 1 minute and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/grammars_cfg.py
View file @
75446557
...
...
@@ -626,7 +626,9 @@ class CFG:
if
max
(
nxl
,
nxr
)
>
full_cmp_cnt
or
min_size
>
max_cmp_len
:
break
if
left_ce
is
not
None
and
right_ce
is
not
None
:
# produce counterexample even if it is only partial
if
left_ce
is
not
None
or
right_ce
is
not
None
:
return
mkres
()
# produce counterexample even if it is only partial
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment