Skip to content

Commit c92dcad

Browse files
The9CatCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 96280c2 commit c92dcad

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/Component.H

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,10 @@ struct loadb_datum
208208
<li> The <code>index</code> dataset is optional. If it is not
209209
present, the particles are assigned indices in the order they are read.
210210
211-
<li> The <code>aux_int_*</code> and <code>aux_float_*</code>
212-
datasets are optional. If they are not present, the corresponding
213-
vectors are empty. The number of auxiliary integer and float
214-
datasets is determined by the <code>num_aux_ints</code> and
215-
<code>num_aux_floats</code> attributes, respectively.
211+
<li> The <code>aux_int_*</code> and <code>aux_float_*</code> datasets are optional.
212+
If omitted, the corresponding attribute counts (<code>num_aux_ints</code>, <code>num_aux_floats</code>)
213+
should be set to 0; if the counts are non-zero, datasets <code>aux_int_0..</code> and
214+
<code>aux_float_0..</code> are expected to exist.
216215
217216
<li> The datatype for the <code>m</code>, <code>x</code>,
218217
<code>y</code>, <code>z</code>, <code>u</code>, <code>v</code>,

0 commit comments

Comments
 (0)