Skip to content

Commit

Permalink
[Bugfix] Fixed a stack overlow, infinite recursion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
callendorph committed Oct 23, 2024
1 parent 225b980 commit 68b3326
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/layerstack.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ layer is outside of the available copper layers of the design.
<DOC>
public defn layer-num (ls:LayerStack, l:LayerIndex|Int) -> Int :
val cnt = get-conductor-count(ls)
is-valid-copper-layer?(ls, l)
match(l):
(i:Int): i
(li:LayerIndex): layer-num(li, cnt)
Expand Down

0 comments on commit 68b3326

Please sign in to comment.