Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Spot
Spot
Commits
86f2f646
Commit
86f2f646
authored
May 12, 2020
by
Etienne Renault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twacube: check nullptr during conversion
* spot/twacube_algos/convert.cc: Here.
parent
d3ac8740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
spot/twacube_algos/convert.cc
spot/twacube_algos/convert.cc
+4
-1
No files found.
spot/twacube_algos/convert.cc
View file @
86f2f646
// -*- coding: utf-8 -*-
// Copyright (C) 2015, 2016, 2018 Laboratoire de Recherche et Developpement de
// Copyright (C) 2015, 2016, 2018
, 2020
Laboratoire de Recherche et Developpement de
// l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
...
...
@@ -62,6 +62,9 @@ namespace spot
spot
::
twacube_ptr
twa_to_twacube
(
const
spot
::
const_twa_graph_ptr
aut
)
{
if
(
aut
==
nullptr
)
return
nullptr
;
// Compute the necessary binder and extract atomic propositions
std
::
unordered_map
<
int
,
int
>
ap_binder
;
std
::
vector
<
std
::
string
>*
aps
=
extract_aps
(
aut
,
ap_binder
);
...
...
Write
Preview
Markdown
is supported
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