Burak Yavuz created SPARK-10353:
-----------------------------------

             Summary: MLlib BLAS gemm outputs wrong result when beta = 0.0 for 
transpose transpose matrix multiplication
                 Key: SPARK-10353
                 URL: https://issues.apache.org/jira/browse/SPARK-10353
             Project: Spark
          Issue Type: Bug
          Components: MLlib
            Reporter: Burak Yavuz


Basically 
{code}
if (beta != 0.0) {
  f2jBLAS.dscal(C.values.length, beta, C.values, 1)
}
{code}
should be
{code}
if (beta != 1.0) {
  f2jBLAS.dscal(C.values.length, beta, C.values, 1)
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to