[Kst] kdeextragear-2/kst/plugins/periodogram

Andrew Walker arwalker at sumusltd.com
Tue Dec 9 19:31:58 CET 2003


CVS commit by arwalker: 




  M +9 -0      periodogram.c   1.3


--- kdeextragear-2/kst/plugins/periodogram/periodogram.c  #1.2:1.3
@@ -611,7 +611,16 @@ int periodogram( const double *const inA
                 pResult[0] = realloc( outArrays[0], lSizeWork * sizeof( double ) );
             }
+            else
+            {
+                pResult[0] = outArrays[0];
+            }
+            
             if( outArrayLens[1] != lSizeWork )
             {
                 pResult[1] = realloc( outArrays[1], lSizeWork * sizeof( double ) );
+            }
+            else
+            {
+                pResult[1] = outArrays[1];
             }
             





More information about the Kst mailing list