Skip to content

Commit cb7b41c

Browse files
committed
set default value of contiguous to false
1 parent 5c85c39 commit cb7b41c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/simulation/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ pub struct MetisOptions {
268268
pub imbalance_factor: f32,
269269
#[serde(default = "u32_value_100")]
270270
pub iteration_number: u32,
271-
#[serde(default = "bool_value_true")]
271+
#[serde(default = "bool_value_false")]
272272
pub contiguous: bool,
273273
}
274274

@@ -345,8 +345,8 @@ fn u32_value_100() -> u32 {
345345
100
346346
}
347347

348-
fn bool_value_true() -> bool {
349-
true
348+
fn bool_value_false() -> bool {
349+
false
350350
}
351351

352352
fn default_vertex_weight() -> Vec<VertexWeight> {

0 commit comments

Comments
 (0)