Skip to content

Commit 1d516ad

Browse files
committed
Fix whitespace
1 parent aa6eb33 commit 1d516ad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/rl/mdl/SixDof.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ namespace rl
104104
q(i) = ::rl::std17::clamp(mean(i) + rand(i) * sigma(i), this->min(i), this->max(i));
105105
}
106106

107-
q.tail<4>() = ::rl::math::Quaternion::Random(rand.tail<3>(), ::Eigen::Map< const ::rl::math::Quaternion>(mean.tail<4>().data()), sigma.tail<3>()).coeffs();
107+
q.tail<4>() = ::rl::math::Quaternion::Random(rand.tail<3>(), ::Eigen::Map<const ::rl::math::Quaternion>(mean.tail<4>().data()), sigma.tail<3>()).coeffs();
108108
}
109109

110110
void

src/rl/mdl/Spherical.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ namespace rl
7979
void
8080
Spherical::generatePositionGaussian(const ::rl::math::ConstVectorRef& rand, const ::rl::math::ConstVectorRef& mean, const ::rl::math::ConstVectorRef& sigma, ::rl::math::VectorRef q) const
8181
{
82-
q = ::rl::math::Quaternion::Random(rand, ::Eigen::Map< const ::rl::math::Quaternion>(mean.data()), sigma).coeffs();
82+
q = ::rl::math::Quaternion::Random(rand, ::Eigen::Map<const ::rl::math::Quaternion>(mean.data()), sigma).coeffs();
8383
}
8484

8585
void

src/rl/util/xenomai/mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ namespace rl
148148
typedef chrono::system_clock clock_t;
149149

150150
template<typename Rep, typename Period>
151-
bool M_try_lock_for(const ::std::chrono::duration< Rep, Period>& rtime)
151+
bool M_try_lock_for(const ::std::chrono::duration<Rep, Period>& rtime)
152152
{
153153
clock_t::duration rt = ::std::chrono::duration_cast<clock_t::duration>(rtime);
154154

tests/rlSplineTest/rlTrapezoidalAccelerationTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ main(int argc, char** argv)
4949
int steps = 2000;
5050
for (std::size_t i = 0; i < steps; ++i)
5151
{
52-
rl::math::Real t = f.duration() * i / static_cast< rl::math::Real >(steps - 1);
52+
rl::math::Real t = f.duration() * i / static_cast<rl::math::Real>(steps - 1);
5353
stream << t << "\t" << f(t)(0) << "\t" << f(t, 1)(0) << "\t" << f(t, 2)(0) << "\t" << f(t, 3)(0) << std::endl;
5454
}
5555
#endif

0 commit comments

Comments
 (0)