Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
7b28f1ff
Commit
7b28f1ff
authored
May 21, 2015
by
Alexandre Duret-Lutz
Browse files
acc: typo in parse_acc_code for generalized_co_buchi
* src/twa/acc.cc: Fix it. * wrap/python/tests/accparse.ipynb: Adjust.
parent
8f286507
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/twa/acc.cc
View file @
7b28f1ff
...
...
@@ -1423,7 +1423,7 @@ namespace spot
else
if
(
!
strncmp
(
input
,
"generalized-co-Buchi"
,
20
))
{
input
+=
20
;
c
=
acc_cond
::
acc_code
::
generalized_buchi
(
parse_num
(
input
));
c
=
acc_cond
::
acc_code
::
generalized_
co_
buchi
(
parse_num
(
input
));
}
else
if
(
!
strncmp
(
input
,
"Rabin"
,
5
))
{
...
...
wrap/python/tests/accparse.ipynb
View file @
7b28f1ff
...
...
@@ -17,7 +17,8 @@
"pygments_lexer": "ipython3",
"version": "3.4.3+"
},
"name": ""
"name": "",
"signature": "sha256:b0fe4d13694abcf6bcdfe7bb8dca49a0b48757f0a09464300a214f1d30e72edb"
},
"nbformat": 3,
"nbformat_minor": 0,
...
...
@@ -127,8 +128,8 @@
"generalized-Buchi 3: Inf(0)&Inf(1)&Inf(2)\n",
"generalized-Buchi 0: t\n",
"co-Buchi: Fin(0)\n",
"generalized-co-Buchi 3:
Inf(0)&Inf(1)&Inf
(2)\n",
"generalized-co-Buchi 0:
t
\n",
"generalized-co-Buchi 3:
Fin(0)|Fin(1)|Fin
(2)\n",
"generalized-co-Buchi 0:
f
\n",
"Rabin 2: (Fin(0) & Inf(1)) | (Fin(2) & Inf(3))\n",
"Rabin 0: f\n",
"Streett 2: (Fin(0) | Inf(1)) & (Fin(2) | Inf(3))\n",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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