Skip to content

Commit

Permalink
Remove unnecessary toString()
Browse files Browse the repository at this point in the history
Co-authored-by: c-bata <[email protected]>
  • Loading branch information
porink0424 and c-bata authored Nov 6, 2024
1 parent b0b2e41 commit ecf4730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna_dashboard/ts/graphUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const getAxisInfoForCategoricalParams = (
)

const indices = distribution.choices
.map((c) => c?.value.toString() ?? "null")
.map((c) => c?.value ?? "null")
.sort((a, b) =>
a.toLowerCase() < b.toLowerCase()
? -1
Expand Down

0 comments on commit ecf4730

Please sign in to comment.