Skip to content

Commit 76f7399

Browse files
committed
Change solver max iterations to 1000
1 parent b9ff5bb commit 76f7399

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/kcl-lib/src/execution/exec_ast.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,10 @@ impl Node<SketchBlock> {
10621062
})
10631063
.collect::<Result<Vec<_>, KclError>>()?;
10641064
// Solve constraints.
1065-
let config = kcl_ezpz::Config::default();
1065+
let config = kcl_ezpz::Config {
1066+
max_iterations: 1000,
1067+
..Default::default()
1068+
};
10661069
let solve_outcome = match kcl_ezpz::solve_with_priority(&constraints, initial_guesses.clone(), config) {
10671070
Ok(o) => o,
10681071
Err(failure) => {

0 commit comments

Comments
 (0)