]> hackdaworld.org Git - physik/nlsop.git/commitdiff
print out max magnitude
authorhackbard <hackbard>
Thu, 7 Oct 2004 19:04:55 +0000 (19:04 +0000)
committerhackbard <hackbard>
Thu, 7 Oct 2004 19:04:55 +0000 (19:04 +0000)
dft.c

diff --git a/dft.c b/dft.c
index c4fe5669d8e33f1cf211261d9d485802177d7391..3ce41a40f88c278684353d0797e2f04790cd46a9 100644 (file)
--- a/dft.c
+++ b/dft.c
@@ -72,6 +72,8 @@ int main(int argc,char **argv) {
     offy+=fourier.data_len[0];
   }
 
+  printf("found max: %f\n",max);
+
   if(max!=0) scale=(int)255/max;
   else scale=0;