@tscircuit/capacity-autorouter 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4545,6 +4545,10 @@ var MultipleHighDensityRouteStitchSolver = class extends BaseSolver {
4545
4545
  this.solved = true;
4546
4546
  return;
4547
4547
  }
4548
+ if (unsolvedRoute.hdRoutes.length === 0) {
4549
+ console.warn(`No routes to stitch for ${unsolvedRoute.connectionName}`);
4550
+ return;
4551
+ }
4548
4552
  this.activeSolver = new SingleHighDensityRouteStitchSolver({
4549
4553
  hdRoutes: unsolvedRoute.hdRoutes,
4550
4554
  start: unsolvedRoute.start,