diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 15:46:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 14:32:40 +0000 |
commit | 39ea3871c1b3f594df846bc0b9a627c9880ecea4 (patch) | |
tree | b22c45755dad8486718eeffba90a36771e83af8f /compat/euler.cpp | |
parent | f92e6b78505ee4bcb148cd07cdae984279b8f6ca (diff) |
use attributes only at declaration, not definition
Diffstat (limited to 'compat/euler.cpp')
-rw-r--r-- | compat/euler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/euler.cpp b/compat/euler.cpp index 44b34f90..889fc53e 100644 --- a/compat/euler.cpp +++ b/compat/euler.cpp @@ -4,7 +4,7 @@ namespace euler { -euler_t OTR_COMPAT_EXPORT rmat_to_euler(const rmat& R) +euler_t rmat_to_euler(const rmat& R) { const double cy = sqrt(R(2,2)*R(2, 2) + R(2, 1)*R(2, 1)); const bool large_enough = cy > 1e-10; @@ -23,7 +23,7 @@ euler_t OTR_COMPAT_EXPORT rmat_to_euler(const rmat& R) } // tait-bryan angles, not euler -rmat OTR_COMPAT_EXPORT euler_to_rmat(const euler_t& input) +rmat euler_to_rmat(const euler_t& input) { const double H = -input(0); const double P = -input(1); |