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 b890e63 commit ce0bb8bCopy full SHA for ce0bb8b
mllib/src/main/scala/org/apache/spark/mllib/linalg/BLAS.scala
@@ -659,10 +659,7 @@ private[spark] object BLAS extends Serializable with Logging {
659
rowCounter += 1
660
}
661
} else {
662
- // Scale vector first if `beta` is not equal to 0.0
663
- if (beta != 0.0) {
664
- scal(beta, y)
665
- }
+ scal(beta, y)
666
// Perform matrix-vector multiplication and add to y
667
var colCounterForA = 0
668
while (colCounterForA < nA) {
0 commit comments