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
Aland, Sebastian
amdis
Commits
3102cc9b
Commit
3102cc9b
authored
Feb 17, 2013
by
Praetorius, Simon
Browse files
AMDiS now compiles with -pedantic
parent
802e128a
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/VtuReader.hh
View file @
3102cc9b
...
...
@@ -78,7 +78,7 @@ namespace AMDiS {
int
nComponents
=
-
1
;
if
(
DataArray
.
attribute
(
"NumberOfComponents"
))
nComponents
=
DataArray
.
attribute
(
"NumberOfComponents"
).
as_int
();
if
(
nComponents
!=
-
1
&&
vector_operations
::
num_rows
(
test
)
>
nComponents
)
if
(
nComponents
!=
-
1
&&
static_cast
<
int
>
(
vector_operations
::
num_rows
(
test
)
)
>
nComponents
)
throw
(
std
::
runtime_error
(
"Can not store values in DOFVector with given value type. Too many components!"
));
string2valueList
(
values
,
valueList
[
i
],
vector_operations
::
num_rows
(
test
),
nComponents
);
break
;
...
...
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