[GRASS-SVN] r38017 -
grass/branches/releasebranch_6_4/vector/lidar/lidarlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 22 02:02:18 EDT 2009
Author: hamish
Date: 2009-06-22 02:02:18 -0400 (Mon, 22 Jun 2009)
New Revision: 38017
Modified:
grass/branches/releasebranch_6_4/vector/lidar/lidarlib/TcholBand.c
Log:
orphaned alloc (thanks Jyothish; merge from devbr6)
Modified: grass/branches/releasebranch_6_4/vector/lidar/lidarlib/TcholBand.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/lidar/lidarlib/TcholBand.c 2009-06-22 05:59:36 UTC (rev 38016)
+++ grass/branches/releasebranch_6_4/vector/lidar/lidarlib/TcholBand.c 2009-06-22 06:02:18 UTC (rev 38017)
@@ -115,8 +115,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);
@@ -161,8 +161,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