Skip to content

Commit 0c2fb5c

Browse files
committed
typo fixed
1 parent 566e39a commit 0c2fb5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bench.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ fn main() -> Result<()> {
5959
let n_runs_per_iter = (num_cpus::get_physical() / config.expl_cfg.separator_config.n_workers).min(n_runs_total);
6060
let n_batches = (n_runs_total as f32 / n_runs_per_iter as f32).ceil() as usize;
6161

62-
let ext_intance = io::read_spp_instance_json(Path::new(&input_file_path))?;
62+
let ext_instance = io::read_spp_instance_json(Path::new(&input_file_path))?;
6363

6464
println!(
6565
"[BENCH] starting bench for {} ({}x{} runs across {} cores, {:?} timelimit)",
66-
ext_intance.name, n_batches, n_runs_per_iter, num_cpus::get_physical(), time_limit
66+
ext_instance.name, n_batches, n_runs_per_iter, num_cpus::get_physical(), time_limit
6767
);
6868

6969
let importer = Importer::new(config.cde_config, config.poly_simpl_tolerance, config.min_item_separation, config.narrow_concavity_cutoff_ratio);
70-
let instance = jagua_rs::probs::spp::io::import(&importer, &ext_intance)?;
70+
let instance = jagua_rs::probs::spp::io::import(&importer, &ext_instance)?;
7171

7272
let mut final_solutions = vec![];
7373

@@ -133,7 +133,7 @@ fn main() -> Result<()> {
133133

134134
io::write_svg(
135135
&s_layout_to_svg(&best_final_solution.layout_snapshot, &instance, DRAW_OPTIONS, "final_best"),
136-
Path::new(format!("{OUTPUT_DIR}/final_best_{}.svg", ext_intance.name).as_str()),
136+
Path::new(format!("{OUTPUT_DIR}/final_best_{}.svg", ext_instance.name).as_str()),
137137
log::Level::Info,
138138
)?;
139139

0 commit comments

Comments
 (0)