Skip to content

Commit f9e4571

Browse files
author
Jon Drobny
committed
Update parry to handle result from trimesh
1 parent 67f886a commit f9e4571

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ impl Geometry for ParryTriMesh {
221221
concentrations,
222222
electronic_stopping_correction_factor,
223223
energy_barrier_thickness,
224-
trimesh,
224+
trimesh: trimesh.expect("Input error: failed to build Trimesh. Check vertices, indices"),
225225
boundary,
226226
}
227227
}

0 commit comments

Comments
 (0)