1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-07-17 10:55:30 +02:00

fix: can not assign in short-circut eval

This commit is contained in:
kalmar 2017-07-06 09:03:05 +02:00
parent 7a39775fff
commit 94fd8f0bf9

View File

@ -79,7 +79,9 @@ end
function transform(U::AbstractArray, V::AbstractArray; sparse=false) function transform(U::AbstractArray, V::AbstractArray; sparse=false)
w = U'*V*U w = U'*V*U
sparse && w = sparsify(w) if sparse
w = sparsify(w)
end
return w return w
end end