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
3ab4ab82
Commit
3ab4ab82
authored
Mar 21, 2019
by
Praetorius, Simon
Browse files
Merge branch 'issue/mtl_size' into feature/fixmatvec_operations
parents
409fdb34
9c49e591
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/linearalgebra/mtl/Constraints.hpp
View file @
3ab4ab82
...
...
@@ -130,8 +130,7 @@ namespace AMDiS
ins
[
t
.
row
][
t
.
col
]
+=
t
.
value
;
if
(
setDiagonal
)
{
using
mtl
::
size
;
for
(
std
::
size_t
i
=
0
;
i
<
size
(
left
);
++
i
)
{
for
(
std
::
size_t
i
=
0
;
i
<
mtl
::
size
(
left
);
++
i
)
{
if
(
left
[
i
])
{
ins
[
i
][
i
]
=
T
(
1
);
ins
[
i
][
at
(
left2right
,
i
)]
=
T
(
-
1
);
...
...
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