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
Commits
5d1987de
Commit
5d1987de
authored
6 months ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Switch to std::uint_least32_t for stored indices in MatrixIndexSet"
This reverts commit
4886d18b
.
parent
9ba0e0f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/istl/matrixindexset.hh
+1
-1
1 addition, 1 deletion
dune/istl/matrixindexset.hh
dune/python/istl/matrixindexset.hh
+1
-2
1 addition, 2 deletions
dune/python/istl/matrixindexset.hh
with
2 additions
and
3 deletions
dune/istl/matrixindexset.hh
+
1
−
1
View file @
5d1987de
...
...
@@ -31,7 +31,7 @@ namespace Dune {
*/
class
MatrixIndexSet
{
using
Index
=
std
::
uint_least32
_t
;
using
Index
=
std
::
size
_t
;
// A vector that partly mimics a std::set by staying
// sorted on insert() and having unique values.
...
...
This diff is collapsed.
Click to expand it.
dune/python/istl/matrixindexset.hh
+
1
−
2
View file @
5d1987de
...
...
@@ -3,7 +3,6 @@
#ifndef DUNE_PYTHON_ISTL_BCRSMATRIX_HH
#define DUNE_PYTHON_ISTL_BCRSMATRIX_HH
#include
<cstdint>
#include
<memory>
#include
<stdexcept>
#include
<string>
...
...
@@ -30,7 +29,7 @@ namespace Dune
void
registerMatrixIndexSet
(
pybind11
::
handle
scope
,
pybind11
::
class_
<
MatrixIndexSet
,
options
...
>
cls
)
{
using
size_type
=
Dune
::
MatrixIndexSet
::
size_type
;
typedef
std
::
size_t
size_type
;
// two different possible constructors
cls
.
def
(
pybind11
::
init
(
[]
()
{
return
new
MatrixIndexSet
();
}
)
);
...
...
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