@tscircuit/capacity-autorouter 0.0.9 → 0.0.10

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
@@ -4318,7 +4318,7 @@ var convertHdRouteToSimplifiedRoute = (hdRoute, layerCount) => {
4318
4318
  (via) => Math.abs(via.x - point.x) < 1e-3 && Math.abs(via.y - point.y) < 1e-3
4319
4319
  );
4320
4320
  if (viaExists) {
4321
- const fromLayer = mapZToLayerName(point.z);
4321
+ const fromLayer = mapZToLayerName(currentZ);
4322
4322
  const toLayer = mapZToLayerName(point.z);
4323
4323
  result.push({
4324
4324
  route_type: "via",