Skip to content

Commit 3c8c6d2

Browse files
committed
Further fixes.
1 parent 8f2c2ec commit 3c8c6d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub extern "C" fn reflect_single_ion_c(num_species_target: &mut c_int, ux: &mut
209209
interaction_index : 0,
210210
weight: 1.0,
211211
tag: 0,
212-
tracked_vector: Vector::new(),
212+
tracked_vector: Vector::new(0.0, 0.0, 0.0),
213213
};
214214

215215
let output = bca::single_ion_bca(p, &m, &options);
@@ -701,7 +701,7 @@ pub extern "C" fn compound_bca_list_fortran(num_incident_ions: &mut c_int, track
701701
interaction_index : 0,
702702
weight: 1.0,
703703
tag: 0,
704-
tracked_vector: Vector::new(),
704+
tracked_vector: Vector::new(0.0, 0.0, 0.0)
705705
};
706706

707707
let output = bca::single_ion_bca(p, &m, &options);

0 commit comments

Comments
 (0)