P1673: symmetric_matrix_vector_product
: bug in implementation
#147
Labels
bug
Something isn't working
symmetric_matrix_vector_product
: bug in implementation
#147
In here the lines starting at 442 :
should be:
Otherwise we count twice for that element.
Note the spec says:
For i in the domain of y, the mathematical expression for the algorithm is y[i] = the sum of A[i,j] * x[j] for all j in the triangle of A specified by t, plus the sum of A[j,i] * x[j] for all j not equal to i such that j,i is in the domain of A but not in the triangle of A specified by t.
Most likely also the updating overload has same issue, have not checked that yet.
The text was updated successfully, but these errors were encountered: