diff options
author | Determinant <[email protected]> | 2015-05-26 18:56:29 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-26 18:56:29 +0800 |
commit | c7e170d4f3cc9f73380380a96318cbea437d48ba (patch) | |
tree | 41abed014da976a4d27a1cbdcfa3171d45657eac /matrix/init.lua | |
parent | fd389b72623dcb44009076c3819a74a79b6f94be (diff) |
add fill for cumatrix
Diffstat (limited to 'matrix/init.lua')
-rw-r--r-- | matrix/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/init.lua b/matrix/init.lua index a3d778e..09c9c64 100644 --- a/matrix/init.lua +++ b/matrix/init.lua @@ -35,7 +35,7 @@ end function nerv.CuMatrix:__mul__(b) c = self:create() - c:mul(self, b, 'N', 'N') + c:mul(self, b, 0.5, 0.0, 'N', 'N') return c end |