torch/torch7 — pull request #110 by GeorgOstrovski (2014-12-25 15:17:46+00:00)
Title: Add parameter check to torch.addmm

Added check whether one of the matrices involved in the multiplication in torch.addmm share the same storage with the result matrix. When this is the case (either they are equal or views on the same tensor) the result is is wrong (and in fact depends on the exact internal implementation of the matrix multiplication).