[GRASS-SVN] r38018 - grass/trunk/vector/lidar/lidarlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 22 02:02:37 EDT 2009
Author: hamish
Date: 2009-06-22 02:02:37 -0400 (Mon, 22 Jun 2009)
New Revision: 38018
Modified:
grass/trunk/vector/lidar/lidarlib/TcholBand.c
Log:
orphaned alloc (thanks Jyothish; merge from devbr6)
Modified: grass/trunk/vector/lidar/lidarlib/TcholBand.c
===================================================================
--- grass/trunk/vector/lidar/lidarlib/TcholBand.c 2009-06-22 06:02:18 UTC (rev 38017)
+++ grass/trunk/vector/lidar/lidarlib/TcholBand.c 2009-06-22 06:02:37 UTC (rev 38018)
@@ -130,8 +130,8 @@
double somma;
/*--------------------------------------*/
- G_alloc_matrix(n, BW);
- G_alloc_vector(n);
+ T = G_alloc_matrix(n, BW);
+ vect = G_alloc_vector(n);
/* T computation */
tcholDec(N, T, n, BW);
@@ -178,8 +178,8 @@
double somma;
/*--------------------------------------*/
- G_alloc_matrix(n, BW);
- G_alloc_vector(n);
+ T = G_alloc_matrix(n, BW);
+ vect = G_alloc_vector(n);
/* T computation */
tcholDec(N, T, n, BW);
More information about the grass-commit
mailing list