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
iwr
dune-vtk
Commits
847c3e5d
Commit
847c3e5d
authored
Dec 20, 2020
by
Praetorius, Simon
Browse files
Merge branch 'issue/remove_warning' into 'master'
replace is_indexable by IsIndexable See merge request extensions/dune-vtk!20
parents
df44be5e
368b552f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/vtk/defaultvtkfunction.hh
View file @
847c3e5d
...
...
@@ -67,7 +67,7 @@ namespace Dune
// Evaluate a component of a vector valued data
template
<
class
T
,
std
::
enable_if_t
<
Dune
::
is_i
ndexable
<
T
,
int
>
::
value
,
int
>
=
0
>
std
::
enable_if_t
<
IsI
ndexable
<
T
,
int
>
::
value
,
int
>
=
0
>
double
evaluateImpl
(
int
comp
,
T
const
&
value
)
const
{
return
value
[
comp
];
...
...
@@ -75,7 +75,7 @@ namespace Dune
// Return the scalar values
template
<
class
T
,
std
::
enable_if_t
<
not
Dune
::
is_i
ndexable
<
T
,
int
>
::
value
,
int
>
=
0
>
std
::
enable_if_t
<
not
IsI
ndexable
<
T
,
int
>
::
value
,
int
>
=
0
>
double
evaluateImpl
(
int
comp
,
T
const
&
value
)
const
{
assert
(
comp
==
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