Boost logo

Boost-Commit :

From: boost_at_[hidden]
Date: 2008-05-27 13:16:26


Author: matthiasschabel
Date: 2008-05-27 13:16:25 EDT (Tue, 27 May 2008)
New Revision: 45820
URL: http://svn.boost.org/trac/boost/changeset/45820

Log:
fix errors in angular units
Text files modified:
   sandbox/units/boost/units/physical_dimensions/angular_momentum.hpp | 4 ++--
   sandbox/units/boost/units/physical_dimensions/moment_of_inertia.hpp | 4 ++--
   sandbox/units/boost/units/physical_dimensions/torque.hpp | 4 ++--
   3 files changed, 6 insertions(+), 6 deletions(-)

Modified: sandbox/units/boost/units/physical_dimensions/angular_momentum.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/angular_momentum.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/angular_momentum.hpp 2008-05-27 13:16:25 EDT (Tue, 27 May 2008)
@@ -21,8 +21,8 @@
 
 namespace units {
 
-/// derived dimension for angular momentum : L M T^-1 QP^-1
-typedef derived_dimension<length_base_dimension,1,
+/// derived dimension for angular momentum : L^2 M T^-1 QP^-1
+typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-1,
                           plane_angle_base_dimension,-1>::type angular_momentum_dimension;

Modified: sandbox/units/boost/units/physical_dimensions/moment_of_inertia.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/moment_of_inertia.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/moment_of_inertia.hpp 2008-05-27 13:16:25 EDT (Tue, 27 May 2008)
@@ -20,8 +20,8 @@
 
 namespace units {
 
-/// derived dimension for moment of inertia : L M QP^-2
-typedef derived_dimension<length_base_dimension,1,
+/// derived dimension for moment of inertia : L^2 M QP^-2
+typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           plane_angle_base_dimension,-2>::type moment_of_inertia_dimension;
 

Modified: sandbox/units/boost/units/physical_dimensions/torque.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/torque.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/torque.hpp 2008-05-27 13:16:25 EDT (Tue, 27 May 2008)
@@ -21,8 +21,8 @@
 
 namespace units {
 
-/// derived dimension for torque : L M T^-2 QP^-1
-typedef derived_dimension<length_base_dimension,1,
+/// derived dimension for torque : L^2 M T^-2 QP^-1
+typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-2,
                           plane_angle_base_dimension,-1>::type torque_dimension;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk