Skip to content

Commit cf28058

Browse files
committed
minor code cleaunup - typo, paste error, redundant ();
1 parent 5dc7c3f commit cf28058

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/lib.rs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,7 @@ pub fn compound_bca_list_tracked_py<'py>(energies: Vec<f64>, ux: Vec<f64>, uy: V
11621162

11631163
#[cfg(feature = "python")]
11641164
///reflect_single_ion_py(ion, target, vx, vy, vz)
1165-
///Performs a single BCA ion trajectory in target material with specified incident vhttps://claude.ai/chat/f1d70373-186f-4e3f-8462-d9d99e6832f4elocity.
1166-
///Args:
1165+
///Performs a single BCA ion trajectory in target material with specified incident veloci
11671166
/// ion (dict): dictionary that defines ion parameters; examples can be found in scripts/materials.py.
11681167
/// target (dict): dictionary that defines target parameterrs; examples can be found in scripts/materials.py.
11691168
/// vx, vy, vz (float): initial x, y, and z velocity in m/s.
@@ -1339,7 +1338,7 @@ pub fn compound_bca_list_1D_py<'py>(ux: Vec<f64>, uy: Vec<f64>, uz: Vec<f64>, en
13391338
};
13401339

13411340
let mut rng = ChaCha8Rng::seed_from_u64(seed);
1342-
for (energy, ux_, uy_, uz_, Z1_, Ec1_, Es1_, m1_) in izip!(energies, ux, uy, uz, Z1, Ec1, Es1, m1) {();
1341+
for (energy, ux_, uy_, uz_, Z1_, Ec1_, Es1_, m1_) in izip!(energies, ux, uy, uz, Z1, Ec1, Es1, m1) {
13431342

13441343
let mut energy_out;
13451344

0 commit comments

Comments
 (0)