Skip to content

Commit f10cdfc

Browse files
imp
Co-authored-by: CyrilFerlicot <cyril@ferlicot.me>
1 parent 99b40ef commit f10cdfc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2359,10 +2359,7 @@ DataFrame >> toLatex [
23592359

23602360
dataFrame columnNames withIndexDo: [ :columnName :index |
23612361
| paddedColumnName |
2362-
paddedColumnName := (columnName isString
2363-
ifFalse: [ columnName asString ]
2364-
ifTrue: [ columnName ]) padRightTo:
2365-
(columnWidths at: index).
2362+
paddedColumnName := columnName asString padRightTo: (columnWidths at: index).
23662363
index = dataFrame numberOfColumns
23672364
ifFalse: [ markdown nextPutAll: paddedColumnName , ' & ' ]
23682365
ifTrue: [ markdown nextPutAll: paddedColumnName ] ].

0 commit comments

Comments
 (0)