mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
fix typo
This commit is contained in:
parent
be98d26610
commit
dace904c10
@ -72,7 +72,7 @@ template<class vtype> accelerator_inline iScalar<vtype> SpTa(const iScalar<vtype
|
|||||||
{
|
{
|
||||||
iScalar<vtype> ret;
|
iScalar<vtype> ret;
|
||||||
ret._internal = SpTa(r._internal);
|
ret._internal = SpTa(r._internal);
|
||||||
return Ta(ret);
|
return ret;
|
||||||
}
|
}
|
||||||
template<class vtype,int N> accelerator_inline iVector<vtype,N> SpTa(const iVector<vtype,N>&r)
|
template<class vtype,int N> accelerator_inline iVector<vtype,N> SpTa(const iVector<vtype,N>&r)
|
||||||
{
|
{
|
||||||
@ -80,11 +80,11 @@ template<class vtype,int N> accelerator_inline iVector<vtype,N> SpTa(const iVect
|
|||||||
for(int i=0;i<N;i++){
|
for(int i=0;i<N;i++){
|
||||||
ret._internal[i] = SpTa(r._internal[i]);
|
ret._internal[i] = SpTa(r._internal[i]);
|
||||||
}
|
}
|
||||||
return Ta(ret);
|
return ret;
|
||||||
}
|
}
|
||||||
template<class vtype,int N> accelerator_inline iMatrix<vtype,N> SpTa(const iMatrix<vtype,N> &arg)
|
template<class vtype,int N> accelerator_inline iMatrix<vtype,N> SpTa(const iMatrix<vtype,N> &arg)
|
||||||
{
|
{
|
||||||
iMatrix<vtype,N> ret;
|
iMatrix<vtype,N> ret(arg);
|
||||||
vtype nrm;
|
vtype nrm;
|
||||||
vtype inner;
|
vtype inner;
|
||||||
vtype tmp;
|
vtype tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user