Skip to content
GitLab
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
092e3630
Commit
092e3630
authored
Feb 29, 2016
by
Etienne Renault
Browse files
Force casts to please clang on OSX
* spot/twa/twagraph.hh, spot/twaalgos/minimize.cc, spot/twaalgos/remfin.cc: Here.
parent
1e18c1a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
spot/twa/twagraph.hh
View file @
092e3630
...
...
@@ -434,7 +434,7 @@ namespace spot
acc_cond
::
mark_t
state_acc_sets
(
unsigned
s
)
const
{
assert
(
prop_state_acc
()
||
num_sets
()
==
0
);
assert
(
(
bool
)
prop_state_acc
()
||
num_sets
()
==
0
);
for
(
auto
&
t
:
g_
.
out
(
s
))
// Stop at the first edge, since the remaining should be
// labeled identically.
...
...
@@ -444,7 +444,7 @@ namespace spot
bool
state_is_accepting
(
unsigned
s
)
const
{
assert
(
prop_state_acc
()
||
num_sets
()
==
0
);
assert
(
(
bool
)
prop_state_acc
()
||
num_sets
()
==
0
);
for
(
auto
&
t
:
g_
.
out
(
s
))
// Stop at the first edge, since the remaining should be
// labeled identically.
...
...
spot/twaalgos/minimize.cc
View file @
092e3630
...
...
@@ -660,7 +660,7 @@ namespace spot
if
(
product
(
min_aut_f
,
aut_neg_f
)
->
is_empty
())
{
// Complement the minimized WDBA.
assert
(
min_aut_f
->
prop_weak
());
assert
(
(
bool
)
min_aut_f
->
prop_weak
());
auto
neg_min_aut_f
=
remove_fin
(
dtwa_complement
(
min_aut_f
));
if
(
product
(
aut_f
,
neg_min_aut_f
)
->
is_empty
())
// Finally, we are now sure that it was safe
...
...
spot/twaalgos/remfin.cc
View file @
092e3630
...
...
@@ -153,7 +153,7 @@ namespace spot
acc_cond
::
mark_t
inf_alone
,
acc_cond
::
mark_t
fin_alone
)
{
assert
(
aut
->
prop_state_acc
());
assert
(
(
bool
)
aut
->
prop_state_acc
());
scc_info
si
(
aut
);
// For state-based Rabin automata, we check each SCC for
...
...
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