Skip to content

Commit e2a6822

Browse files
committed
Fixed addColumn:named:
1 parent 320e54d commit e2a6822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ DataFrame >> addColumn: anArray named: aString atPosition: aNumber [
336336
(self columnNames includes: aString)
337337
ifTrue: [ Error signal: 'A column with that name already exists' ].
338338

339-
contents addColumn: anArray atPosition: aNumber.
339+
contents addColumn: anArray asArray atPosition: aNumber.
340340
columnNames add: aString afterIndex: aNumber - 1.
341341
]
342342

0 commit comments

Comments
 (0)