Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
fd5290c9
Commit
fd5290c9
authored
Jan 02, 2016
by
Pietro Incardona
Browse files
Small refactorization + coverty fix
parent
7988298e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/GraphMLWriter.hpp
View file @
fd5290c9
...
...
@@ -208,6 +208,11 @@ struct vertex_node
create_prop
<
typename
G
::
V_type
>
(
attributes_names
);
};
inline
~
vertex_node
()
{
delete
[]
attributes_names
;
}
#ifdef DEBUG
/*! \brief Constructor
*
...
...
src/util.hpp
View file @
fd5290c9
...
...
@@ -71,6 +71,8 @@ struct RGB getColor(int group, std::uniform_real_distribution<float> & d, std::d
float
s
=
d
(
g
);
group
=
group
%
12
;
#ifdef ON_IO_UNIT_TESTS
s
=
0.5
;
#endif
...
...
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