We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c85c39 + 1186d1a commit 3e0cda0Copy full SHA for 3e0cda0
src/simulation/config.rs
@@ -268,7 +268,7 @@ pub struct MetisOptions {
268
pub imbalance_factor: f32,
269
#[serde(default = "u32_value_100")]
270
pub iteration_number: u32,
271
- #[serde(default = "bool_value_true")]
+ #[serde(default = "bool_value_false")]
272
pub contiguous: bool,
273
}
274
@@ -345,8 +345,8 @@ fn u32_value_100() -> u32 {
345
100
346
347
348
-fn bool_value_true() -> bool {
349
- true
+fn bool_value_false() -> bool {
+ false
350
351
352
fn default_vertex_weight() -> Vec<VertexWeight> {
@@ -439,7 +439,7 @@ mod tests {
439
edge_weight: EdgeWeight::Capacity,
440
imbalance_factor: 1.1,
441
iteration_number: 100,
442
- contiguous: true,
+ contiguous: false,
443
})
444
);
445
0 commit comments