Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xdmf
Xdmf
Commits
c231d85c
Commit
c231d85c
authored
May 18, 2011
by
Kenneth Leiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Fix bug introduced by new GetValue() in XdmfArray. Forgot to return value.
parent
720346ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
core/XdmfArray.tpp
core/XdmfArray.tpp
+9
-9
No files found.
core/XdmfArray.tpp
View file @
c231d85c
...
...
@@ -202,15 +202,15 @@ template <typename T>
T
XdmfArray
::
getValue
(
const
unsigned
int
index
)
const
{
if
(
mHaveArray
)
{
boost
::
apply_visitor
(
GetValue
<
T
>
(
index
),
mArray
);
}
else
if
(
mHaveArrayPointer
)
{
boost
::
apply_visitor
(
GetValue
<
T
>
(
index
),
mArrayPointer
);
}
return
0
;
if
(
mHaveArray
)
{
return
boost
::
apply_visitor
(
GetValue
<
T
>
(
index
),
mArray
);
}
else
if
(
mHaveArrayPointer
)
{
return
boost
::
apply_visitor
(
GetValue
<
T
>
(
index
),
mArrayPointer
);
}
return
0
;
}
template
<
typename
T
>
...
...
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