mirror of
https://github.com/paboyle/Grid.git
synced 2025-05-05 18:15:57 +01:00
Debug error in Tensor mult
This commit is contained in:
parent
fe4912880d
commit
5696781862
@ -98,7 +98,9 @@ template<class rtype,class vtype,class mtype,int N>
|
|||||||
strong_inline void mult(iVector<rtype,N> * __restrict__ ret,
|
strong_inline void mult(iVector<rtype,N> * __restrict__ ret,
|
||||||
const iVector<vtype,N> * __restrict__ rhs,
|
const iVector<vtype,N> * __restrict__ rhs,
|
||||||
const iScalar<mtype> * __restrict__ lhs){
|
const iScalar<mtype> * __restrict__ lhs){
|
||||||
mult(ret,lhs,rhs);
|
for(int c1=0;c1<N;c1++){
|
||||||
|
mult(&ret->_internal[c1],&rhs->_internal[c1],&lhs->_internal);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user