Skip to content

Commit c71a060

Browse files
committed
Fix CLI parameter name
1 parent 8d91376 commit c71a060

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

splashsurf/src/reconstruction.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ pub struct ReconstructSubcommandArgs {
7777
#[structopt(long, default_value = "on", possible_values = &["on", "off"], case_insensitive = true)]
7878
octree_decomposition: Switch,
7979
/// Whether to enable stitching of the disconnected local meshes when spatial decomposition is enabled (slower, but without stitching meshes will not be closed)
80-
#[structopt(name="octree_stitch_subdomains", long, default_value = "on", possible_values = &["on", "off"], case_insensitive = true)]
81-
stitch_subdomains: Switch,
80+
#[structopt(long, default_value = "on", possible_values = &["on", "off"], case_insensitive = true)]
81+
octree_stitch_subdomains: Switch,
8282
/// The maximum number of particles for leaf nodes of the octree, default is to compute it based on number of threads and particles
8383
#[structopt(long)]
8484
octree_max_particles: Option<usize>,
@@ -221,7 +221,7 @@ mod arguments {
221221
splashsurf_lib::SubdivisionCriterion::MaxParticleCountAuto
222222
};
223223
let ghost_particle_safety_factor = args.octree_ghost_margin_factor;
224-
let enable_stitching = args.stitch_subdomains.into_bool();
224+
let enable_stitching = args.octree_stitch_subdomains.into_bool();
225225

226226
Some(splashsurf_lib::SpatialDecompositionParameters {
227227
subdivision_criterion,

0 commit comments

Comments
 (0)