Skip to content

Commit 5ed2cd3

Browse files
tukssMaxSagebaum
authored andcommitted
add missing device annotation for transpose
clang++ failed to compile. nvcc compiled but produced NaNs in the result.
1 parent 92ecdb3 commit 5ed2cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/codi/traits/computationTraits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace codi {
147147
using Jacobian = T;
148148
using Return = T;
149149

150-
static Return transpose(Jacobian const& jacobian) {
150+
CODI_INLINE static Return transpose(Jacobian const& jacobian) {
151151
return jacobian;
152152
}
153153
};

0 commit comments

Comments
 (0)