Skip to content

Commit dd5efa7

Browse files
committed
fixed statistics test in debug mode
1 parent d86b7ab commit dd5efa7

File tree

1 file changed

+1
-1
lines changed
  • core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api

1 file changed

+1
-1
lines changed

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/statistics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ class StatisticsTests {
10411041
// derived columns
10421042
val renamedColumn = valueColumn.rename("newName").asValueColumn().internalValueColumn()
10431043
val colWithDifferentType = ((valueColumn as ResolvingValueColumn).source as ValueColumnImpl)
1044-
.changeType(typeOf<Double>())
1044+
.changeType(typeOf<Number>())
10451045
// tests
10461046
valueColumn.asValueColumn().internalValueColumn()
10471047
.getStatisticCacheOrNull("min", mapOf("skipNaN" to false))?.value shouldBe 1

0 commit comments

Comments
 (0)