Skip to content

Commit

Permalink
Fixed a typo in 'DenseVector.minusAssign'
Browse files Browse the repository at this point in the history
  • Loading branch information
superbobry committed Sep 2, 2016
1 parent 8763508 commit bd32aba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/org/jetbrains/bio/viktor/DenseVector.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit bd32aba

Please sign in to comment.