This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch upstream-master in repository pktools.
commit d01ec1366f621bbd0c1ae74bcc08f2b494e27b8f Author: Pieter Kempeneers <kempe...@gmail.com> Date: Fri Oct 19 16:16:13 2012 +0200 pkclassify_svm is working --- src/algorithms/ConfusionMatrix.cc | 1 + src/apps/Makefile.am | 2 +- src/apps/Makefile.in | 7 ++----- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/algorithms/ConfusionMatrix.cc b/src/algorithms/ConfusionMatrix.cc index dd1fe49..95ee85b 100644 --- a/src/algorithms/ConfusionMatrix.cc +++ b/src/algorithms/ConfusionMatrix.cc @@ -96,6 +96,7 @@ ConfusionMatrix ConfusionMatrix::operator*(double weight) } void ConfusionMatrix::resize(short nclass){ + m_classes.resize(nclass); for(short iclass=0;iclass<nclass;++iclass){ ostringstream osclass; osclass << iclass; diff --git a/src/apps/Makefile.am b/src/apps/Makefile.am index 994c6c6..acfb841 100644 --- a/src/apps/Makefile.am +++ b/src/apps/Makefile.am @@ -37,7 +37,7 @@ pkstat_SOURCES = $(top_srcdir)/src/algorithms/Histogram.h pkstat.cc pkstat_LDADD = $(GSL_LIBS) $(AM_LDFLAGS) pkstatogr_SOURCES = pkstatogr.cc pkegcs_SOURCES = pkegcs.cc -#pkegcs_LDADD = -lgdal $(AM_LDFLAGS) -lgdal +pkegcs_LDADD = -lgdal $(AM_LDFLAGS) -lgdal pkextract_SOURCES = pkextract.cc pkfillnodata_SOURCES = pkfillnodata.cc pkfilter_SOURCES = pkfilter.cc diff --git a/src/apps/Makefile.in b/src/apps/Makefile.in index bbbe416..294d38b 100644 --- a/src/apps/Makefile.in +++ b/src/apps/Makefile.in @@ -123,10 +123,7 @@ pkdumpogr_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(top_builddir)/src/imageclasses/libimageClasses.a am_pkegcs_OBJECTS = pkegcs.$(OBJEXT) pkegcs_OBJECTS = $(am_pkegcs_OBJECTS) -pkegcs_LDADD = $(LDADD) -pkegcs_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(top_builddir)/src/algorithms/libalgorithms.a \ - $(top_builddir)/src/imageclasses/libimageClasses.a +pkegcs_DEPENDENCIES = $(am__DEPENDENCIES_2) am_pkextract_OBJECTS = pkextract.$(OBJEXT) pkextract_OBJECTS = $(am_pkextract_OBJECTS) pkextract_LDADD = $(LDADD) @@ -380,7 +377,7 @@ pkstat_SOURCES = $(top_srcdir)/src/algorithms/Histogram.h pkstat.cc pkstat_LDADD = $(GSL_LIBS) $(AM_LDFLAGS) pkstatogr_SOURCES = pkstatogr.cc pkegcs_SOURCES = pkegcs.cc -#pkegcs_LDADD = -lgdal $(AM_LDFLAGS) -lgdal +pkegcs_LDADD = -lgdal $(AM_LDFLAGS) -lgdal pkextract_SOURCES = pkextract.cc pkfillnodata_SOURCES = pkfillnodata.cc pkfilter_SOURCES = pkfilter.cc -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel