Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pacxx-projectseminar-2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vladyslav Kucher
pacxx-projectseminar-2019
Commits
b9b6b5f5
Commit
b9b6b5f5
authored
5 years ago
by
Jö Fahlke
Browse files
Options
Downloads
Patches
Plain Diff
Don't rely on constexpr lambdas
This is to appease clang 3.8
parent
72f9bb33
No related branches found
Branches containing commit
No related tags found
1 merge request
!17
Avoid allocating extra vector in matrix-free applyscaleadd()
Pipeline
#19666
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/linearsolver.hh
+1
-1
1 addition, 1 deletion
src/linearsolver.hh
with
1 addition
and
1 deletion
src/linearsolver.hh
+
1
−
1
View file @
b9b6b5f5
...
...
@@ -75,7 +75,7 @@ namespace PPS {
//! apply operator to x: \f$ y = A(x) \f$
void
apply
(
const
X
&
x
,
Y
&
y
)
const
override
{
static
constexpr
auto
id
=
[](
auto
v
){
return
v
;
};
auto
id
=
[](
auto
v
){
return
v
;
};
y
=
0
;
go_
->
nonlinear_jacobian_apply
(
linearizationPoint_
,
x
,
y
,
id
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment