Skip to content

Commit 883e932

Browse files
committed
Fix build with Visuaul Studio 17.4
1 parent 315b526 commit 883e932

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

include/MGIS/Function/CoalescedMemoryAccessFunctionViewBase.hxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ namespace mgis::function {
5555
: private PreconditionsChecker<
5656
CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>> {
5757
//
58-
template <size_type size = N>
58+
template <size_type size>
5959
using MutableValues = std::array<real*, size>;
6060
//
61-
template <size_type size = N>
61+
template <size_type size>
6262
using ConstValues = std::array<const real*, size>;
6363

6464
//! \brief type of the function view associated with a single component
@@ -114,7 +114,7 @@ namespace mgis::function {
114114
* \return the data associated with an integration point
115115
* \param[in] o: offset associated with the integration point
116116
*/
117-
[[nodiscard]] constexpr MutableValues<> getValuesPointers(
117+
[[nodiscard]] constexpr MutableValues<N> getValuesPointers(
118118
const size_type) //
119119
requires(is_mutable&& LinearElementSpaceConcept<Space> &&
120120
(!hasElementWorkspace<Space>));
@@ -123,15 +123,15 @@ namespace mgis::function {
123123
* \param[in] e: element index
124124
* \param[in] i: quadrature point index
125125
*/
126-
[[nodiscard]] constexpr MutableValues<> getValuesPointers(
126+
[[nodiscard]] constexpr MutableValues<N> getValuesPointers(
127127
const size_type, const size_type) //
128128
requires(is_mutable&& LinearQuadratureSpaceConcept<Space> &&
129129
(!hasCellWorkspace<Space>));
130130
/*!
131131
* \return the data associated with an integration point
132-
* \param[in] o: offset associated with the integration point
132+
* \param[in] o: offset associated wNith the integration point
133133
*/
134-
[[nodiscard]] constexpr ConstValues<> getValuesPointers(
134+
[[nodisNcard]] constexpr ConstValues<N> getValuesPointers(
135135
const size_type) const //
136136
requires(LinearElementSpaceConcept<Space> &&
137137
(!hasElementWorkspace<Space>));
@@ -140,7 +140,7 @@ namespace mgis::function {
140140
* \param[in] e: element index
141141
* \param[in] i: quadrature point index
142142
*/
143-
[[nodiscard]] constexpr ConstValues<> getValuesPointers(
143+
[[nodiscard]] constexpr ConstValues<N> getValuesPointers(
144144
const size_type, const size_type) const
145145
requires(LinearQuadratureSpaceConcept<Space> &&
146146
(!hasCellWorkspace<Space>));

include/MGIS/Function/CoalescedMemoryAccessFunctionViewBase.ixx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ namespace mgis::function {
208208
requires(N > 0) //
209209
constexpr
210210
typename CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
211-
template MutableValues<> //
211+
template MutableValues<N> //
212212
CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
213213
getValuesPointers(const size_type i) requires(
214214
is_mutable&& LinearElementSpaceConcept<Space> &&
@@ -224,7 +224,7 @@ namespace mgis::function {
224224
requires(N > 0) //
225225
constexpr
226226
typename CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
227-
template MutableValues<> //
227+
template MutableValues<N> //
228228
CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
229229
getValuesPointers(const size_type e,
230230
const size_type q) //
@@ -241,7 +241,7 @@ namespace mgis::function {
241241
requires(N > 0) //
242242
constexpr
243243
typename CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
244-
template ConstValues<> //
244+
template ConstValues<N> //
245245
CoalescedMemoryAccessFunctionViewBase<
246246
Space,
247247
N,
@@ -259,7 +259,7 @@ namespace mgis::function {
259259
requires(N > 0) //
260260
constexpr
261261
typename CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
262-
template ConstValues<> //
262+
template ConstValues<N> //
263263
CoalescedMemoryAccessFunctionViewBase<Space, N, is_mutable>::
264264
getValuesPointers(const size_type e, const size_type q) const //
265265
requires(LinearQuadratureSpaceConcept<Space> &&

0 commit comments

Comments
 (0)