1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix code format

This commit is contained in:
bolero-MURAKAMI 2016-04-05 11:57:06 +09:00
parent aa8e265188
commit a0060119ab
31 changed files with 379 additions and 379 deletions

View file

@ -11,7 +11,7 @@
#include <sprout/config.hpp>
#if SPROUT_USE_VARIABLE_TEMPLATES
# include <sprout/math/constants.hpp>
#endif // #if SPROUT_USE_VARIABLE_TEMPLATES
#endif // #if SPROUT_USE_VARIABLE_TEMPLATES
namespace sprout {
namespace math {

View file

@ -130,7 +130,7 @@ namespace sprout {
SPROUT_CXX14_CONSTEXPR quaternion<T>& operator+=(sprout::complex<T> const& rhs) {
T at = elems_[0] + rhs.real();
T bt = elems_[1] + rhs.imag();
elems_[0] = at;
elems_[0] = at;
elems_[1] = bt;
return *this;
}