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
3
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
3
Expand
0
0
Merge request reports
Compare
master
version 7
8b5158e4
6 months ago
version 6
ec80ed6b
6 months ago
version 5
4fca9eb4
6 months ago
version 4
a574dd7b
6 months ago
version 3
0d4edec9
6 months ago
version 2
7dc9ac75
6 months ago
version 1
9d399d54
6 months ago
master (base)
and
latest version
latest version
0b46567a
8 commits,
6 months ago
version 7
8b5158e4
7 commits,
6 months ago
version 6
ec80ed6b
6 commits,
6 months ago
version 5
4fca9eb4
5 commits,
6 months ago
version 4
a574dd7b
4 commits,
6 months ago
version 3
0d4edec9
3 commits,
6 months ago
version 2
7dc9ac75
2 commits,
6 months ago
version 1
9d399d54
1 commit,
6 months ago
3 files
+
15
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
dune/istl/io.hh
+
12
−
12
Options
@@ -147,14 +147,14 @@ namespace Dune {
* #include <dune/istl/io.hh>
* \endcode
*/
template
<
class
K
>
template
<
class
K
,
std
::
enable_if_t
<
Dune
::
IsNumber
<
K
>
::
value
,
int
>
=
0
>
void
print_row
(
std
::
ostream
&
s
,
const
K
&
value
,
[[
maybe_unused
]]
typename
FieldMatrix
<
K
,
1
,
1
>::
size_type
I
,
[[
maybe_unused
]]
typename
FieldMatrix
<
K
,
1
,
1
>::
size_type
J
,
[[
maybe_unused
]]
typename
FieldMatrix
<
K
,
1
,
1
>::
size_type
therow
,
int
width
,
[[
maybe_unused
]]
int
precision
,
typename
std
::
enable_if_t
<
Dune
::
IsNumber
<
K
>::
value
>*
sfinae
=
nullptr
)
[[
maybe_unused
]]
int
precision
)
{
s
<<
" "
;
// space in front of each entry
s
.
width
(
width
);
// set width for each entry anew
@@ -168,11 +168,11 @@ namespace Dune {
* #include <dune/istl/io.hh>
* \endcode
*/
template
<
class
M
>
template
<
class
M
,
std
::
enable_if_t
<
not
Dune
::
IsNumber
<
M
>
::
value
,
int
>
=
0
>
void
print_row
(
std
::
ostream
&
s
,
const
M
&
A
,
typename
M
::
size_type
I
,
typename
M
::
size_type
J
,
typename
M
::
size_type
therow
,
int
width
,
int
precision
,
typename
std
::
enable_if_t
<!
Dune
::
IsNumber
<
M
>::
value
>*
sfinae
=
nullptr
)
int
width
,
int
precision
)
{
typename
M
::
size_type
i0
=
I
;
for
(
typename
M
::
size_type
i
=
0
;
i
<
A
.
N
();
i
++
)
@@ -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
,
typename
std
::
enable_if_t
<
Dune
::
IsNumber
<
FieldType
>::
value
>*
sfinae
=
nullptr
)
std
::
ostream
&
s
)
{
//+1 for Matlab numbering
s
<<
rowOffset
+
1
<<
" "
<<
colOffset
+
1
<<
" "
;
@@ -425,11 +425,11 @@ namespace Dune {
* #include <dune/istl/io.hh>
* \endcode
*/
template
<
class
MatrixType
>
template
<
class
MatrixType
,
std
::
enable_if_t
<
not
Dune
::
IsNumber
<
MatrixType
>
::
value
,
int
>
=
0
>
void
writeMatrixToMatlabHelper
(
const
MatrixType
&
matrix
,
int
externalRowOffset
,
int
externalColOffset
,
std
::
ostream
&
s
,
typename
std
::
enable_if_t
<!
Dune
::
IsNumber
<
MatrixType
>::
value
>*
sfinae
=
nullptr
)
std
::
ostream
&
s
)
{
// Precompute the accumulated sizes of the columns
std
::
vector
<
typename
MatrixType
::
size_type
>
colOffset
(
matrix
.
M
());
Loading