You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the equation should be replaced by matmul( (v2d, transpose(v2d) ) to return a 3x3 matrix.
In my windows gfortran value, the statement is interpreted in a weird way, and the scalar value is placed in the element (3,3) of AM_End, which is quite surprising.
I'll submit a pull request.
OpenFAST Version
Openfast dev as of 2/7/2022
The text was updated successfully, but these errors were encountered:
Bug description
The variable
v2D
in the line below is (3x1):https://github.com/OpenFAST/openfast/blob/dev/modules/hydrodyn/src/Morison.f90#L2125
Therefore, the expression
matmul(transpose(v2D), v2D)
returns a scalar.I believe the equation should be replaced by
matmul( (v2d, transpose(v2d) )
to return a 3x3 matrix.In my windows gfortran value, the statement is interpreted in a weird way, and the scalar value is placed in the element (3,3) of
AM_End
, which is quite surprising.I'll submit a pull request.
OpenFAST Version
Openfast dev as of 2/7/2022
The text was updated successfully, but these errors were encountered: