Skip to content

Commit e650d33

Browse files
committed
Fix TypeVector (and subclass) TIMPI Attributes
1 parent 52c111c commit e650d33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/parallel/parallel_algebra.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ struct TypeVectorAttributes
144144
static const bool has_min_max = true;
145145
static void set_lowest(V & x) {
146146
for (int d=0; d != LIBMESH_DIM; ++d)
147-
TIMPI::Attributes<decltype(x(d))>::set_lowest(x(d));
147+
TIMPI::Attributes<typename std::remove_reference<decltype(x(d))>::type>::set_lowest(x(d));
148148
}
149149
static void set_highest(V & x) {
150150
for (int d=0; d != LIBMESH_DIM; ++d)
151-
TIMPI::Attributes<decltype(x(d))>::set_highest(x(d));
151+
TIMPI::Attributes<typename std::remove_reference<decltype(x(d))>::type>::set_highest(x(d));
152152
}
153153
};
154154

0 commit comments

Comments
 (0)