Changed : A[i,k] to A[i][k]
Caught from the following warning: In file included from IK_QChain.h:47, from IK_QChain.cpp:44: TNT/cmat.h: In function `void TNT::matmultdiag(TNT::Matrix<T>&, const TNT::Matri x<T>&, const TNT::Vector<T>&)': TNT/cmat.h:593: warning: left-hand operand of comma has no effect Kent
This commit is contained in:
parent
106c3340ad
commit
a297f42bcd
|
@ -590,7 +590,7 @@ inline void matmultdiag(
|
|||
for (Subscript i=0; i<M; i++) {
|
||||
for (Subscript k=0; k<K; k++)
|
||||
{
|
||||
C[i][k] = A[i,k] * diag[k];
|
||||
C[i][k] = A[i][k] * diag[k];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue