We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c111c commit e650d33Copy full SHA for e650d33
1 file changed
include/parallel/parallel_algebra.h
@@ -144,11 +144,11 @@ struct TypeVectorAttributes
144
static const bool has_min_max = true;
145
static void set_lowest(V & x) {
146
for (int d=0; d != LIBMESH_DIM; ++d)
147
- TIMPI::Attributes<decltype(x(d))>::set_lowest(x(d));
+ TIMPI::Attributes<typename std::remove_reference<decltype(x(d))>::type>::set_lowest(x(d));
148
}
149
static void set_highest(V & x) {
150
151
- TIMPI::Attributes<decltype(x(d))>::set_highest(x(d));
+ TIMPI::Attributes<typename std::remove_reference<decltype(x(d))>::type>::set_highest(x(d));
152
153
};
154
0 commit comments