[Kst] branches/work/kst/portto4/kst/src/plugins/dataobject/crossspectrum

Mike Fenton mike at staikos.net
Mon Nov 17 21:11:50 CET 2008


SVN commit 885729 by fenton:

Fix windows build error.


 M  +1 -1      crossspectrum.cpp  


--- branches/work/kst/portto4/kst/src/plugins/dataobject/crossspectrum/crossspectrum.cpp #885728:885729
@@ -194,7 +194,7 @@
   if ( xps_len<2 )  {
     xps_len = 2;
   }
-  xps_len = int ( pow( 2,  xps_len ) );
+  xps_len = int ( pow( 2.0,  xps_len ) );
 
   /* input vector lengths */
   v_len = ( ( inputVectorOne->length() < inputVectorTwo->length() ) ? inputVectorOne->length() : inputVectorTwo->length() );


More information about the Kst mailing list