Skip to content

Commit

Permalink
Fixed transpose qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloIbannez committed Jan 9, 2024
1 parent ede066f commit e93acdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/tensor.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace uammd{

VECATTR real trace(){return xx+yy+zz;}

VECATTR tensor3 transpose(){
VECATTR tensor3 transpose() const {
return tensor3(xx,yx,zx,
xy,yy,zy,
xz,yz,zz);
Expand Down

0 comments on commit e93acdf

Please sign in to comment.