From 64f0dedcd2be53e484fcd3573996224f3e8ec8c2 Mon Sep 17 00:00:00 2001 From: seveibar Date: Thu, 9 Jan 2025 20:22:47 -0800 Subject: [PATCH] extra handling for MAX_ITERATIONS (sometimes not being used) --- algos/multi-layer-ijump/MultilayerIjump.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/algos/multi-layer-ijump/MultilayerIjump.ts b/algos/multi-layer-ijump/MultilayerIjump.ts index 33dc4bd..751c3e6 100644 --- a/algos/multi-layer-ijump/MultilayerIjump.ts +++ b/algos/multi-layer-ijump/MultilayerIjump.ts @@ -109,6 +109,7 @@ export class MultilayerIjump extends GeneralizedAstarAutorouter { }) { super(opts) this.layerCount = opts.input.layerCount ?? 2 + this.MAX_ITERATIONS = opts.MAX_ITERATIONS ?? this.MAX_ITERATIONS this.VIA_COST = opts.VIA_COST ?? this.VIA_COST this.connMap = opts.connMap this.pcbConnMap = opts.pcbConnMap ?? new PcbConnectivityMap()