Skip to content

Commit

Permalink
Green
Browse files Browse the repository at this point in the history
  • Loading branch information
AdRiley committed Mar 5, 2025
1 parent 5944e29 commit 3d0240e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distribution/lib/Standard/Table/0.0.0-dev/src/Table.enso
Original file line number Diff line number Diff line change
Expand Up @@ -3785,8 +3785,10 @@ type Table
x = case n of
Duplicate_Rows_Method.Integer_Range from to step ->
range_col = case to of
_ : Integer -> self.make_constant_column (from.up_to to step=step)
_ : Column_Ref -> ((self:Table_Ref).resolve to).map (x->0.up_to x)
_ : Integer -> case from of
_ : Integer -> self.make_constant_column (from.up_to to step=step)
_ : Column_Ref -> ((self:Table_Ref).resolve from).map x->(x.up_to to)
_ : Column_Ref -> ((self:Table_Ref).resolve to).map x->(0.up_to x)
self.set range_col as="generate_rows_id"
x.expand_to_rows "generate_rows_id"

Expand Down

0 comments on commit 3d0240e

Please sign in to comment.