Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
3f2e3f75
Commit
3f2e3f75
authored
Mar 21, 2019
by
Praetorius, Simon
Browse files
corrected pointer access in MatrixView
parent
3ab4ab82
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/common/FieldMatVec.inc.hpp
View file @
3f2e3f75
...
...
@@ -136,7 +136,7 @@ namespace MatVec {
{
T
operator
[](
size_type
c
)
const
{
assert
(
0
<=
c
&&
c
<
mat_
.
M
());
assert
(
0
<=
c
&&
c
<
mat_
->
M
());
return
c
==
r_
?
mat_
->
diagonal
(
r_
)
:
T
(
0
);
}
...
...
Write
Preview
Supports
Markdown
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