Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
agnumpde
dune-tnnmg
Commits
2ec25017
Commit
2ec25017
authored
Mar 01, 2019
by
Max Kahnt
Browse files
Properly forward constructor to CopyOrReference members.
parent
b196aa9a
Pipeline
#15350
passed with stage
in 5 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/functionals/boxconstrainedquadraticfunctional.hh
View file @
2ec25017
...
...
@@ -254,10 +254,11 @@ public:
using
LowerObstacle
=
std
::
decay_t
<
L
>
;
using
UpperObstacle
=
std
::
decay_t
<
U
>
;
BoxConstrainedQuadraticFunctional
(
const
Matrix
&
matrix
,
const
Vector
&
linearPart
,
const
LowerObstacle
&
lower
,
const
UpperObstacle
&
upper
)
:
Base
(
matrix
,
linearPart
),
lower_
(
lower
),
upper_
(
upper
)
template
<
class
MM
,
class
VV
,
class
LL
,
class
UU
>
BoxConstrainedQuadraticFunctional
(
MM
&&
matrix
,
VV
&&
linearPart
,
LL
&&
lower
,
UU
&&
upper
)
:
Base
(
std
::
forward
<
MM
>
(
matrix
),
std
::
forward
<
VV
>
(
linearPart
)),
lower_
(
std
::
forward
<
LL
>
(
lower
)),
upper_
(
std
::
forward
<
UU
>
(
upper
))
{}
Range
operator
()(
const
Vector
&
v
)
const
...
...
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