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
8b4f7c91
Commit
8b4f7c91
authored
Mar 17, 2019
by
Praetorius, Simon
Browse files
import mtl::size for size of std::vector
parent
95a126a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/linearalgebra/mtl/Constraints.hpp
View file @
8b4f7c91
...
...
@@ -130,6 +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
)
{
if
(
left
[
i
])
{
ins
[
i
][
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