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
9c49e591
Commit
9c49e591
authored
Mar 20, 2019
by
Praetorius, Simon
Browse files
call size function with explicit mtl namespace, due to ambiguities
parent
0215302f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/amdis/linearalgebra/mtl/Constraints.hpp
View file @
9c49e591
...
...
@@ -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
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