1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-03-31 01:59:52 +05:00

use MPI_DATAYPE_NULL thx stefanozampini

This commit is contained in:
Joachim Schöberl 2020-08-04 23:50:11 +02:00
parent 42a01b5c21
commit 3864eb2e35

@ -22,7 +22,7 @@ namespace netgen
{
static MPI_Datatype type = MPI_DATATYPE_NULL;
static MPI_Datatype htype = MPI_DATATYPE_NULL;
if (!type)
if (type == MPI_DATATYPE_NULL)
{
MeshPoint hp;
int blocklen[] = { 3, 1, 1 };