Skip to content

Commit 00e77db

Browse files
committed
Fix for hdf5 paraview files, now total_number_particles is not a total BS
1 parent 4b33785 commit 00e77db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/APRWriter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ class APRWriter {
620620
//just an identifier in here for the reading of the parts
621621

622622

623-
int num_parts = apr.apr_access.total_number_particles;
623+
uint64_t num_parts = apr.apr_access.total_number_particles;
624624

625625
hdf5_write_attribute_blosc(pr_groupid,H5T_NATIVE_UINT64,"total_number_particles",1,dims_out, &num_parts );
626626

0 commit comments

Comments
 (0)