Skip to content

Commit d948a43

Browse files
committed
java: fix typo in MPI_Win_attach binding
1 parent 628364a commit d948a43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mpi/java/java/Win.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ else if(base instanceof LongBuffer || base instanceof DoubleBuffer)
120120
else
121121
throw new AssertionError();
122122

123-
int sizeBytes = size * baseSize,
123+
int sizeBytes = size * baseSize;
124124

125-
attach(handle, base, size);
125+
attach(handle, base, sizeBytes);
126126
}
127127

128128
private native void attach(long win, Buffer base, int size) throws MPIException;

0 commit comments

Comments
 (0)