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
Backofen, Rainer
amdis
Commits
a84300ab
Commit
a84300ab
authored
Mar 19, 2015
by
Praetorius, Simon
Browse files
removed const_cast in operations/product and norm
parent
2f05c417
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/operations/norm.hpp
View file @
a84300ab
...
...
@@ -59,7 +59,7 @@ namespace AMDiS
using
namespace
mtl
::
vector
;
typedef
parameters
<
mtl
::
col_major
,
non_fixed
::
dimension
,
false
,
size_type
>
param
;
mtl
::
dense_vector
<
const
value_type
,
param
>
tmp
(
AMDiS
::
size
(
v
),
value_type
v
.
begin
());
mtl
::
dense_vector
<
const
value_type
,
param
>
tmp
(
AMDiS
::
size
(
v
),
v
.
begin
());
return
mtl
::
two_norm
(
tmp
);
}
...
...
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