Skip to content

Commit

Permalink
extra handling for MAX_ITERATIONS (sometimes not being used)
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Jan 10, 2025
1 parent 43d57ca commit 64f0ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions algos/multi-layer-ijump/MultilayerIjump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 64f0ded

Please sign in to comment.