]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsim/c172_main.c
Fix my mailing address by replacing it with my web page.
[flightgear.git] / src / FDM / LaRCsim / c172_main.c
index 67e3944b5e561972193c73630185d7521241df78..51295e7225ab83f0278ffa3dce279a63bd9cc3f0 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started October 1998.
 //
-// Copyright (C) 1998  Curtis L. Olson  - curt@me.umn.edu
+// Copyright (C) 1998  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -262,7 +262,7 @@ int wave_stats(float *var,float *var_rate,int N,FILE *out)
        if(Nmaxima > 2)
        {
          ld=log(varmaxima[1]/varmaxima[2]);   //logarithmic decrement
-         zeta=ld/sqrt(4*PI*PI +ld*ld);        //damping ratio
+         zeta=ld/sqrt(4*LS_PI*LS_PI +ld*ld);        //damping ratio
          omegad=1/(vm_times[2]-vm_times[1]);  //damped natural frequency Hz
          if(zeta < 1)
          {