Unverified Commit 1c1491ee authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #1506 from sniblett402/patch-1

Bugfix for bond_style table with MPI
parents 1dc8bb16 400751f3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -503,7 +503,7 @@ void BondTable::param_extract(Table *tb, char *line)
void BondTable::bcast_table(Table *tb)
{
  MPI_Bcast(&tb->ninput,1,MPI_INT,0,world);
  MPI_Bcast(&tb->r0,1,MPI_INT,0,world);
  MPI_Bcast(&tb->r0,1,MPI_DOUBLE,0,world);

  int me;
  MPI_Comm_rank(world,&me);
@@ -522,7 +522,6 @@ void BondTable::bcast_table(Table *tb)
    MPI_Bcast(&tb->fplo,1,MPI_DOUBLE,0,world);
    MPI_Bcast(&tb->fphi,1,MPI_DOUBLE,0,world);
  }
  MPI_Bcast(&tb->r0,1,MPI_INT,0,world);
}

/* ----------------------------------------------------------------------