Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container 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
ag-ohlberger
dune-community
dune-xt
Commits
30f54574
Commit
30f54574
authored
4 years ago
by
René Fritze
Committed by
René Fritze
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[la container] prevent tidy error
parent
5ad94f18
No related branches found
Branches containing commit
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dune/xt/la/container/container-interface.hh
+3
-3
3 additions, 3 deletions
python/dune/xt/la/container/container-interface.hh
with
3 additions
and
3 deletions
python/dune/xt/la/container/container-interface.hh
+
3
−
3
View file @
30f54574
...
...
@@ -52,16 +52,16 @@ void addbind_ContainerInterface(pybind11::class_<C>& c)
using
namespace
pybind11
::
literals
;
using
S
=
typename
C
::
ScalarType
;
#ifndef __clang_analyzer__ // tidy throws a false positive on the lambda
c
.
def
(
"copy"
,
[](
C
&
self
,
const
bool
deep
)
{
if
(
deep
)
return
self
.
copy
();
else
return
C
(
self
);
return
C
(
self
);
},
"deep"
_a
=
false
);
#endif
c
.
def
(
"scal"
,
[](
C
&
self
,
const
S
&
alpha
)
{
self
.
scal
(
alpha
);
},
"alpha"
_a
);
c
.
def
(
"axpy"
,
[](
C
&
self
,
const
S
&
alpha
,
const
C
&
xx
)
{
self
.
axpy
(
alpha
,
xx
);
});
...
...
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