Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Core Modules
dune-istl
Merge requests
!579
Get rid off unused-variable-warnings.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Get rid off unused-variable-warnings.
markus.blatt/dune-istl:issue/remove-warnings-master
into
master
Overview
9
Commits
8
Pipelines
8
Changes
1
All threads resolved!
Hide all comments
Merged
Markus Blatt
requested to merge
markus.blatt/dune-istl:issue/remove-warnings-master
into
master
6 months ago
Overview
9
Commits
8
Pipelines
8
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
ec80ed6b
Prev
Next
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ec80ed6b
Appiied suggestion to refactor to template sfinae
· ec80ed6b
Markus Blatt
authored
6 months ago
dune/istl/io.hh
+
3
−
3
Options
@@ -407,11 +407,11 @@ namespace Dune {
*
* This specialization for numbers ends the recursion
*/
template
<
class
FieldType
>
template
<
class
FieldType
,
std
::
enable_if_t
<
Dune
::
IsNumber
<
FieldType
>
::
value
,
int
>
=
0
>
void
writeMatrixToMatlabHelper
(
const
FieldType
&
value
,
int
rowOffset
,
int
colOffset
,
std
::
ostream
&
s
,
[[
maybe_unused
]]
typename
std
::
enable_if_t
<
Dune
::
IsNumber
<
FieldType
>::
value
>*
sfinae
=
nullptr
)
std
::
ostream
&
s
)
{
//+1 for Matlab numbering
s
<<
rowOffset
+
1
<<
" "
<<
colOffset
+
1
<<
" "
;
Loading