Skip to content

Commit 526b9c7

Browse files
committed
fix warning
1 parent ce9d023 commit 526b9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/columns/DataColumnImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal abstract class DataColumnImpl<T>(
3737

3838
override fun hashCode() = hashCode
3939

40-
override operator fun get(range: IntRange) = createWithValues(values.subList(range.start, range.endInclusive + 1))
40+
override operator fun get(range: IntRange) = createWithValues(values.subList(range.first, range.last + 1))
4141

4242
protected abstract fun createWithValues(values: List<T>, hasNulls: Boolean? = null): DataColumn<T>
4343
}

0 commit comments

Comments
 (0)