Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Tobias Leibner
dune-common
Commits
8624cecb
Commit
8624cecb
authored
15 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Explicite conversion to pointer needed! (How can this ever have worked
since the shared_ptr change?) [[Imported from SVN: r5713]]
parent
78badff7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/common/mpicollectivecommunication.hh
+2
-2
2 additions, 2 deletions
dune/common/mpicollectivecommunication.hh
with
2 additions
and
2 deletions
dune/common/mpicollectivecommunication.hh
+
2
−
2
View file @
8624cecb
...
...
@@ -47,7 +47,7 @@ namespace Dune
};
template
<
typename
T
>
shared_ptr
<
MPI_Datatype
>
Generic_MPI_Datatype
<
T
>::
type
=
shared_ptr
<
MPI_Datatype
>
(
0
);
shared_ptr
<
MPI_Datatype
>
Generic_MPI_Datatype
<
T
>::
type
=
shared_ptr
<
MPI_Datatype
>
(
static_cast
<
MPI_Datatype
*>
(
0
)
);
// A Macro for defining traits for the primitive data types
#define ComposeMPITraits(p,m) \
...
...
@@ -111,7 +111,7 @@ namespace Dune
template
<
typename
Type
,
typename
BinaryFunction
>
shared_ptr
<
MPI_Op
>
Generic_MPI_Op
<
Type
,
BinaryFunction
>::
op
=
shared_ptr
<
MPI_Op
>
(
0
);
shared_ptr
<
MPI_Op
>
Generic_MPI_Op
<
Type
,
BinaryFunction
>::
op
=
shared_ptr
<
MPI_Op
>
(
static_cast
<
MPI_Op
*>
(
0
)
);
#define ComposeMPIOp(type,func,op) \
template<> \
...
...
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