summaryrefslogtreecommitdiff
path: root/include/tng_io.h
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-20 17:22:00 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-20 17:22:00 (GMT)
commit8fe5cdcb7c49596b4cf44eee5b0f0678bd069dc1 (patch)
treeb482d5dd27ddc0ece85feb1570bab9b2a1cf7160 /include/tng_io.h
parentb97f4dff0e286abe9dfe6e9c14e988274541e974 (diff)
Add check that stride_length > 0. Fix bugs in allocating memory for atoms.
Diffstat (limited to 'include/tng_io.h')
-rw-r--r--include/tng_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h
index 6acbe47..ccaae11 100644
--- a/include/tng_io.h
+++ b/include/tng_io.h
@@ -1340,7 +1340,7 @@ tng_function_status tng_data_block_add(tng_trajectory_t tng_data,
const tng_block_type block_type_flag,
int64_t n_frames,
const int64_t n_values_per_frame,
- const int64_t stride_length,
+ int64_t stride_length,
const int64_t codec_id,
void *new_data);
@@ -1375,7 +1375,7 @@ tng_function_status tng_particle_data_block_add(tng_trajectory_t tng_data,
const tng_block_type block_type_flag,
int64_t n_frames,
const int64_t n_values_per_frame,
- const int64_t stride_length,
+ int64_t stride_length,
const int64_t first_particle_number,
const int64_t n_particles,
const int64_t codec_id,
contact: Jan Huwald // Impressum