Skip to content

Commit

Permalink
remove usage of tuple.get
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
  • Loading branch information
martinvuyk committed Feb 1, 2025
1 parent e2520fc commit ecb237f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/src/memory/span.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ struct Span[

@parameter
for i in range(len(widths)):
alias w = widths.get[i, Int]()
alias w = widths[i]

@parameter
if simdwidthof[D]() >= w:
Expand Down Expand Up @@ -507,7 +507,7 @@ struct Span[

@parameter
for i in range(len(widths)):
alias w = widths.get[i, Int]()
alias w = widths[i]

@parameter
if simdwidthof[D]() >= w:
Expand Down

0 comments on commit ecb237f

Please sign in to comment.