We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82bf7ba commit 2948991Copy full SHA for 2948991
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/math/cumsum.kt
@@ -292,7 +292,7 @@ internal fun DataColumn<Long?>.cumSumImpl(skipNA: Boolean): DataColumn<Long?> {
292
* T : Number(?) -> T(?)
293
*/
294
public val cumSumTypeConversion: CalculateReturnType = { type, _ ->
295
- when (val type = type.withNullability(false)) {
+ when (type.withNullability(false)) {
296
// type changes to Int, carrying nullability
297
typeOf<Short>(), typeOf<Byte>() -> typeOf<Int>().withNullability(type.isMarkedNullable)
298
0 commit comments