bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] Unit Error


From: Brian Gough
Subject: Re: [Bug-gsl] Unit Error
Date: Wed, 11 Jun 2003 13:08:26 +0100

Carlo Ferrigno writes:
 > In gsl-1.3 the file gsl_const_cgs.h in the const subdirectory contains a 
 > wrong value of the
 > Bohr magneton 
 > in the file it is 
 > #define GSL_CONST_CGS_BOHR_MAGNETON (9.27400899e-20) /* A cm^2 */
 > but should read
 > #define GSL_CONST_CGS_BOHR_MAGNETON (9.27400899e-21) /* A cm^2 */ 
 > 
 > and could be useful to add /* erg/gaus */ as a comment.

The CGS units are now available (in CVS) as GSL_CONST_CGSM 
using the Gauss as the fundamental unit of magnetic field strength, 
so the bohr magneton value comes out correctly.

regards
-- 
Brian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]