Skip to content

Commit 99b40ef

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

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2350,9 +2350,7 @@ DataFrame >> toLatex [
23502350

23512351
columnWidths := dataFrame columnNames collect: [ :columnName |
23522352
| maxWidth |
2353-
columnName isString
2354-
ifFalse: [ maxWidth := columnName asString size ]
2355-
ifTrue: [ maxWidth := columnName size ].
2353+
maxWidth := columnName asString size.
23562354
dataFrame rows do: [ :row |
23572355
| value |
23582356
value := row at: columnName.

0 commit comments

Comments
 (0)