[Debian-astro-commits] [gyoto] 87/221: Small error in ThermalBrems

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri May 22 20:52:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit 12ac38e0093a24e14728883dc9a5f40bae11f03d
Author: Frederic <frederic at MacFrederic.local>
Date:   Fri Nov 7 17:48:14 2014 +0100

    Small error in ThermalBrems
---
 lib/ThermalBremsstrahlungSpectrum.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ThermalBremsstrahlungSpectrum.C b/lib/ThermalBremsstrahlungSpectrum.C
index 185587a..09e327d 100644
--- a/lib/ThermalBremsstrahlungSpectrum.C
+++ b/lib/ThermalBremsstrahlungSpectrum.C
@@ -43,7 +43,7 @@ Spectrum::ThermalBremsstrahlung::ThermalBremsstrahlung() :
 
 double Spectrum::ThermalBremsstrahlung::temperature() const { return T_; }
 void Spectrum::ThermalBremsstrahlung::temperature(double tt) {
-  T_ = tt; Tm1_=1./T_; 
+  T_ = tt; Tm1_=1./T_; Tm05_=sqrt(Tm1_);
   spectrumBB_->temperature(T_);
 }
 double Spectrum::ThermalBremsstrahlung::massdensityCGS() const { 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list