Skip to content

Commit

Permalink
correct argument mix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 2, 2024
1 parent 8c5ab97 commit 08947db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ SharedMemoryArray readOrCreate(String name, long[] shape, T datatype, boolean is
for (long i : shape) {size *= i;}
if (isNpy) size = (int) DecodeNumpy.calculateNpyStyleByteArrayLength(shape, datatype);
if (PlatformDetection.isWindows())
return SharedMemoryArrayWin.readOrCreate(name, size, shape, strDType, isFortran, isNpy);
return SharedMemoryArrayWin.readOrCreate(name, size, shape, strDType, isNpy, isFortran);
else if (PlatformDetection.isLinux())
return SharedMemoryArrayLinux.readOrCreate(name, size, shape, strDType, isFortran, isNpy);
return SharedMemoryArrayLinux.readOrCreate(name, size, shape, strDType, isNpy, isFortran);
else
return SharedMemoryArrayMacOS.readOrCreate(name, size, shape, strDType, isFortran, isNpy);
return SharedMemoryArrayMacOS.readOrCreate(name, size, shape, strDType, isNpy, isFortran);
}

/**
Expand Down

0 comments on commit 08947db

Please sign in to comment.