diff --git a/CHANGES b/CHANGES index 66eaa40..90ed506 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,14 @@ viktor Changelog Here you can see the full list of changes between each viktor release. +Version 0.3.3 +------------- + +Bugfix release + +- Fixed a bug in 'DenseVector.minusAssign' which called 'plusAssign' + if the argument was not dense. + Version 0.3.2 ------------- diff --git a/src/main/kotlin/org/jetbrains/bio/viktor/DenseVector.kt b/src/main/kotlin/org/jetbrains/bio/viktor/DenseVector.kt index 2cb47f4..3bb001c 100644 --- a/src/main/kotlin/org/jetbrains/bio/viktor/DenseVector.kt +++ b/src/main/kotlin/org/jetbrains/bio/viktor/DenseVector.kt @@ -146,7 +146,7 @@ class LargeDenseVector(data: DoubleArray, offset: Int, size: Int) : other.data, other.offset, data, offset, size) } else { - super.plusAssign(other) + super.minusAssign(other) } }