Hello community, here is the log from the commit of package gfan for openSUSE:Factory checked in at 2018-01-23 13:52:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gfan (Old) and /work/SRC/openSUSE:Factory/.gfan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gfan" Tue Jan 23 13:52:32 2018 rev:8 rq:559957 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gfan/gfan.changes 2016-06-19 10:50:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes 2018-01-23 13:52:33.614817078 +0100 @@ -1,0 +2,17 @@ +Mon Dec 25 21:21:45 UTC 2017 - jeng...@inai.de + +- Update to new upstream release 0.6.2 + * Improved mixed volume computation, improved Gröbner basis + implementation. + * New tropical starting cone algorithm, resultant fan + algorithms, tropical hypersurface reconstruction algorithm, + tropical basis detection (in _tropicalintersection -t was + replaced by --tropicalbasistest) + * Stable intersection of tropical cycles (_fancommonrefinement + --stable) + * Better implementation of the field of rational functions). +- Delete gfan-format.diff, gfan-returns.diff, + gfan-remove-debug-code.diff (fixed upstream) +- Add gfan-warnings.diff + +------------------------------------------------------------------- Old: ---- gfan-format.diff gfan-remove-debug-code.diff gfan-returns.diff gfan0.5.tar.gz New: ---- gfan-warnings.diff gfan0.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gfan.spec ++++++ --- /var/tmp/diff_new_pack.ryqwMP/_old 2018-01-23 13:52:36.118700107 +0100 +++ /var/tmp/diff_new_pack.ryqwMP/_new 2018-01-23 13:52:36.118700107 +0100 @@ -1,7 +1,7 @@ # # spec file for package gfan # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,7 @@ Name: gfan -%define lname libgfan-0_5 -Version: 0.5 +Version: 0.6.2 Release: 0 Summary: Calculation of Gröbner fans License: GPL-2.0 @@ -27,14 +26,12 @@ Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz Patch1: gfan-automake.diff -Patch2: gfan-format.diff -Patch3: gfan-returns.diff -Patch4: gfan-remove-debug-code.diff +Patch2: gfan-warnings.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: automake BuildRequires: cddlib-devel BuildRequires: gcc-c++ BuildRequires: gmp-devel -BuildRequires: libtool >= 2 %define with_pdf 1 %if 0%{?with_pdf} BuildRequires: texlive-latex @@ -55,50 +52,25 @@ Gfan is a software package for computing Gröbner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. -%package -n %lname -Summary: Library for calculation of Gröbner fans -Group: System/Libraries - -%description -n %lname -Gfan is a software package for computing Gröbner fans and tropical -varieties. These are polyhedral fans associated to polynomial ideals. - -%package -n libgfan-devel -Summary: Development files for libgfan -Group: Development/Libraries/C and C++ -Requires: %lname = %version - -%description -n libgfan-devel -Gfan is a software package for computing Gröbner fans and tropical -varieties. These are polyhedral fans associated to polynomial ideals. - %prep %setup -qn %name%version -%patch -P 1 -P 2 -P 3 -P 4 -p1 +%patch -P 1 -P 2 -p1 %build autoreconf -fi -export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused -std=gnu++98" -%if 0%{?suse_version} > 1110 -# -Wno-unused-result not known in old SUSE -export CXXFLAGS="$CXXFLAGS -Wno-unused-result" -%endif -%configure --disable-static --enable-silent-rules -make %{?_smp_mflags} +export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused -Wno-comment -Wno-misleading-indentation -std=gnu++11" +%configure +make %{?_smp_mflags} V=1 %if 0%{?with_pdf} make -C doc %{?_smp_mflags} %endif %install b="%buildroot" -make install DESTDIR="$b" -for i in $(./gfan _list | grep ^gfan_); do +%make_install +for i in $(src/gfan _list | grep ^gfan_); do ln -s gfan "$b/%_bindir/$i" done; -rm -fv "$b/%_libdir"/*.la - -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig %files %defattr(-,root,root) @@ -108,13 +80,4 @@ %doc doc/manual.pdf %endif -%files -n %lname -%defattr(-,root,root) -%_libdir/libgfan-%version.so - -%files -n libgfan-devel -%defattr(-,root,root) -%_libdir/libgfan.so -%_includedir/* - %changelog ++++++ gfan-automake.diff ++++++ --- /var/tmp/diff_new_pack.ryqwMP/_old 2018-01-23 13:52:36.146698799 +0100 +++ /var/tmp/diff_new_pack.ryqwMP/_new 2018-01-23 13:52:36.146698799 +0100 @@ -5,266 +5,50 @@ Use much simpler Makefiles. --- - Makefile.am | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 8 + - 2 files changed, 249 insertions(+) + Makefile.am | 1 + + configure.ac | 6 ++++++ + src/Makefile.am | 20 ++++++++++++++++++++ + 3 files changed, 27 insertions(+) -Index: gfan0.5/Makefile.am +Index: gfan0.6.2/Makefile.am =================================================================== --- /dev/null -+++ gfan0.5/Makefile.am -@@ -0,0 +1,241 @@ -+# -*- Makefile -*- -+ -+AM_CPPFLAGS = -DGMPRATIONAL -+AM_CXXFLAGS = -Wuninitialized -+ -+lib_LTLIBRARIES = libgfan.la -+ -+libgfan_la_LIBADD = -lcddgmp -+libgfan_la_LDFLAGS = -release ${PACKAGE_VERSION} -+libgfan_la_SOURCES = \ -+ gfanlib_polyhedralfan.cpp \ -+ gfanlib_polymakefile.cpp \ -+ gfanlib_symmetriccomplex.cpp \ -+ gfanlib_symmetry.cpp \ -+ gfanlib_zcone.cpp \ -+ gfanlib_zfan.cpp -+ -+bin_PROGRAMS = gfan -+ -+app_sources = \ -+ app_buchberger.cpp \ -+ app_combinerays.cpp \ -+ app_commonrefinement.cpp \ -+ app_composepermutations.cpp \ -+ app_doesidealcontain.cpp \ -+ app_evaluate.cpp \ -+ app_exponentlattice.cpp \ -+ app_facets.cpp \ -+ app_fancoarsening.cpp \ -+ app_fancones.cpp \ -+ app_fanhomology.cpp \ -+ app_fansubfan.cpp \ -+ app_fiberpolytope.cpp \ -+ app_genericlinearchange.cpp \ -+ app_groebnercone.cpp \ -+ app_groebnerfan.cpp \ -+ app_homogeneityspace.cpp \ -+ app_homogenize.cpp \ -+ app_idealintersection.cpp \ -+ app_idealproduct.cpp \ -+ app_initialdeterminant.cpp \ -+ app_initialforms.cpp \ -+ app_integergb.cpp \ -+ app_interactive.cpp \ -+ app_intsinpolytope.cpp\ -+ app_isconnected.cpp \ -+ app_isgroebnerbasis.cpp \ -+ app_ismarkedgroebnerbasis.cpp \ -+ app_issmooth.cpp \ -+ app_krulldimension.cpp \ -+ app_lattice.cpp \ -+ app_latticeideal.cpp \ -+ app_leadingterms.cpp \ -+ app_librarytest.cpp \ -+ app_link.cpp \ -+ app_lll.cpp \ -+ app_lpsolve.cpp \ -+ app_main.cpp \ -+ app_markpolynomialset.cpp \ -+ app_matrixproduct.cpp \ -+ app_minimalassociatedprimes.cpp \ -+ app_minkowski.cpp \ -+ app_minors.cpp \ -+ app_mixedvolume.cpp \ -+ app_multiplymatrix.cpp \ -+ app_nbody.cpp \ -+ app_normalfancleanup.cpp \ -+ app_padic.cpp \ -+ app_pointconfiguration.cpp \ -+ app_polynomialsetunion.cpp \ -+ app_product.cpp \ -+ app_realroots.cpp \ -+ app_regularsubdivision.cpp \ -+ app_render.cpp \ -+ app_renderstaircase.cpp \ -+ app_representatives.cpp \ -+ app_saturation.cpp \ -+ app_scarfcomplex.cpp \ -+ app_scarfisgeneric.cpp \ -+ app_scarfvisualize.cpp \ -+ app_secondaryfan.cpp \ -+ app_smalessixth.cpp \ -+ app_smalessixth2.cpp \ -+ app_spolynomial.cpp \ -+ app_stats.cpp \ -+ app_sturmsequence.cpp \ -+ app_substitute.cpp \ -+ app_supportindices.cpp \ -+ app_symmetries.cpp \ -+ app_test.cpp \ -+ app_tolatex.cpp \ -+ app_topolyhedralfan.cpp \ -+ app_transposematrix.cpp \ -+ app_traversetropicalintersection.cpp \ -+ app_triangulate.cpp \ -+ app_tropicalbasis.cpp \ -+ app_tropicalbruteforce.cpp \ -+ app_tropicalevaluation.cpp \ -+ app_tropicalfunction.cpp \ -+ app_tropicalhypersurface.cpp \ -+ app_tropicalimage.cpp \ -+ app_tropicalintersection.cpp \ -+ app_tropicallifting.cpp \ -+ app_tropicallinearspace.cpp \ -+ app_tropicalmultiplicity.cpp \ -+ app_tropicalrank.cpp \ -+ app_tropicalstartingcone.cpp \ -+ app_tropicaltraverse.cpp \ -+ app_tropicalweildivisor.cpp \ -+ app_volume.cpp \ -+ app_walk.cpp \ -+ app_weightvector.cpp -+ -+app_delete_sources = \ -+ app_add.cpp \ -+ app_berndssuggestion.cpp \ -+ app_grassmanndata2.cpp \ -+ app_grassmanndata3.cpp \ -+ app_construction.cpp \ -+ app_checkridges.cpp \ -+ app_edwinsconjecture.cpp \ -+ app_fvector.cpp \ -+ app_grassmanndata.cpp \ -+ app_groupfacetbinomials.cpp \ -+ app_istriangulation.cpp \ -+ app_latticetest.cpp \ -+ app_markpolynomialset.cpp \ -+ app_moeckel.cpp \ -+ app_polytopetopolynomial.cpp \ -+ app_rendernewtonpolytope.cpp \ -+ app_tropical.cpp \ -+ app_xfigconstruction.cpp \ -+ app_liststandardmonomials.cpp -+# needs to be fixed so that it compiles with gcc version 2.96 (legolas.imf.au.dk) -+#app_delete_sources += app_isrefinement.cpp -+ -+cats_sources = \ -+ binomial.cpp \ -+ codimoneconnectedness.cpp \ -+ continuedfractions.cpp \ -+ determinant.cpp \ -+ determinantpoly.cpp \ -+ field_rationalfunctions.cpp \ -+ field_rationalfunctions2.cpp \ -+ fieldlp.cpp \ -+ ge_gfan.cpp \ -+ graph.cpp \ -+ groebnerengine.cpp \ -+ halfopencone.cpp \ -+ integergb.cpp \ -+ intsinpolytope.cpp\ -+ lattice.cpp \ -+ latticeideal.cpp \ -+ linalg.cpp \ -+ linalgfloat.cpp \ -+ lll.cpp \ -+ log.cpp \ -+ matrix.cpp \ -+ minkowskidual.cpp \ -+ minors.cpp \ -+ mixedvolume.cpp \ -+ multiplicity.cpp \ -+ nbody.cpp \ -+ padic.cpp \ -+ polymakefile.cpp \ -+ polynomialring.cpp \ -+ primarydecomposition.cpp \ -+ regularsubdivision.cpp \ -+ restrictedautoreduction.cpp \ -+ saturation.cpp \ -+ scarf.cpp \ -+ substitute.cpp \ -+ symmetriccomplex.cpp \ -+ symmetrictraversal.cpp \ -+ traverser_groebnerfan.cpp \ -+ traverser_secondaryfan.cpp \ -+ traverser_sphere.cpp \ -+ traverser_stableintersection.cpp \ -+ traverser_tropical.cpp \ -+ triangulation.cpp \ -+ tropical_weildivisor.cpp \ -+ tropicalbasis.cpp \ -+ tropicaldeterminant.cpp \ -+ tropicalmap.cpp \ -+ tropicaltraverse.cpp \ -+ xfig.cpp -+#cats_sources += restrictedgfan.cpp -+ -+gcats_sources = \ -+ application.cpp \ -+ bergman.cpp \ -+ breadthfirstsearch.cpp \ -+ buchberger.cpp \ -+ dimension.cpp \ -+ division.cpp \ -+ enumeration.cpp \ -+ ep_standard.cpp \ -+ ep_xfig.cpp \ -+ field.cpp \ -+ field_rationals.cpp \ -+ field_zmodpz.cpp \ -+ genericwalk.cpp \ -+ gfanapplication.cpp \ -+ gmpallocator.cpp \ -+ lp.cpp \ -+ lp_cdd.cpp \ -+ minkowskisum.cpp \ -+ monomial.cpp \ -+ newtonpolytope.cpp \ -+ parser.cpp \ -+ polyhedralcone.cpp \ -+ polyhedralfan.cpp \ -+ polynomial.cpp \ -+ printer.cpp \ -+ renderer.cpp \ -+ reversesearch.cpp \ -+ subspace.cpp \ -+ symmetry.cpp \ -+ term.cpp \ -+ termorder.cpp \ -+ timer.cpp \ -+ tropical.cpp \ -+ tropical2.cpp \ -+ vektor.cpp \ -+ wallideal.cpp -+ -+gfan_LDADD = libgfan.la -lgmp -lcddgmp -+gfan_SOURCES = ${gcats_sources} ${cats_sources} ${app_sources} -+ -+include_HEADERS = \ -+ gfanlib.h \ -+ gfanlib_matrix.h \ -+ gfanlib_polyhedralfan.h \ -+ gfanlib_polymakefile.h \ -+ gfanlib_q.h \ -+ gfanlib_symmetriccomplex.h \ -+ gfanlib_symmetry.h \ -+ gfanlib_vector.h \ -+ gfanlib_z.h \ -+ gfanlib_zcone.h \ -+ gfanlib_zfan.h -Index: gfan0.5/configure.ac ++++ gfan0.6.2/Makefile.am +@@ -0,0 +1 @@ ++SUBDIRS=src +Index: gfan0.6.2/configure.ac =================================================================== --- /dev/null -+++ gfan0.5/configure.ac -@@ -0,0 +1,8 @@ -+AC_INIT([gfan], [0.5]) ++++ gfan0.6.2/configure.ac +@@ -0,0 +1,6 @@ ++AC_INIT([gfan], [0.6.2]) +AM_INIT_AUTOMAKE([-Wall foreign]) +AC_PROG_INSTALL +AC_PROG_CXX -+AC_DISABLE_STATIC -+LT_INIT -+AC_CONFIG_FILES([Makefile]) ++AC_CONFIG_FILES([Makefile src/Makefile]) +AC_OUTPUT +Index: gfan0.6.2/src/Makefile.am +=================================================================== +--- /dev/null ++++ gfan0.6.2/src/Makefile.am +@@ -0,0 +1,20 @@ ++AM_CPPFLAGS = -DGMPRATIONAL ++AM_CXXFLAGS = -Wuninitialized ++bin_PROGRAMS = gfan ++gfan_SOURCES = \ ++app_buchberger.cpp app_chowbetti.cpp app_combinerays.cpp app_commonrefinement.cpp app_composepermutations.cpp app_debug.cpp app_doesidealcontain.cpp app_evaluate.cpp app_exponentlattice.cpp app_facets.cpp app_fancoarsening.cpp app_fancones.cpp app_fanhomology.cpp app_fansubfan.cpp \ ++app_fiberpolytope.cpp app_genericlinearchange.cpp app_groebnercone.cpp app_groebnerfan.cpp app_homogeneityspace.cpp app_homogenize.cpp app_idealintersection.cpp app_idealproduct.cpp app_initialdeterminant.cpp app_initialforms.cpp app_integerfactorization.cpp app_integergb.cpp \ ++app_interactive.cpp app_intsinpolytope.cpp app_isbalanced.cpp app_isconnected.cpp app_isgroebnerbasis.cpp app_ismarkedgroebnerbasis.cpp app_issmooth.cpp app_krulldimension.cpp app_latticeideal.cpp app_lattice.cpp app_leadingterms.cpp app_librarytest.cpp application.cpp app_link.cpp \ ++app_lll.cpp app_lpsolve.cpp app_main.cpp app_markpolynomialset.cpp app_matrixproduct.cpp app_minimalassociatedprimes.cpp app_minkowski.cpp app_minors.cpp app_mixedvolume.cpp app_multiplymatrix.cpp app_nbody.cpp app_normalfancleanup.cpp app_padic.cpp app_pointconfiguration.cpp \ ++app_polynomialsetunion.cpp app_polytopealgebra.cpp app_product.cpp app_randompolynomials.cpp app_realroots.cpp app_regularsubdivision.cpp app_render.cpp app_renderstaircase.cpp app_representatives.cpp app_resultantfan.cpp app_saturation.cpp app_scarfcomplex.cpp \ ++app_scarfisgeneric.cpp app_scarfvisualize.cpp app_secondaryfan.cpp app_smalessixth2.cpp app_smalessixth.cpp app_spolynomial.cpp app_stats.cpp app_sturmsequence.cpp app_substitute.cpp app_supportindices.cpp app_symmetries.cpp app_test.cpp app_tolatex.cpp app_topolyhedralfan.cpp \ ++app_transposematrix.cpp app_traversetropicalintersection.cpp app_triangulate.cpp app_tropicalbasis.cpp app_tropicalbruteforce.cpp app_tropicalcurve.cpp app_tropicalevaluation.cpp app_tropicalfunction.cpp app_tropicalhomotopy.cpp app_tropicalhypersurface.cpp \ ++app_tropicalhypersurfacereconstruction.cpp app_tropicalimage.cpp app_tropicalintersection.cpp app_tropicallifting.cpp app_tropicallinearspace.cpp app_tropicalmultiplicity.cpp app_tropicalrank.cpp app_tropicalstartingcone.cpp app_tropicaltraverse.cpp \ ++app_tropicalvarietyspan.cpp app_tropicalweildivisor.cpp app_volume.cpp app_walk.cpp app_weightvector.cpp bergman.cpp binomial.cpp breadthfirstsearch.cpp bsptree.cpp buchberger.cpp codimoneconnectedness.cpp continuedfractions.cpp determinant.cpp determinantpoly.cpp dimension.cpp \ ++division.cpp enumeration.cpp ep_standard.cpp ep_xfig.cpp fieldlp.cpp field.cpp field_rationalfunctions2.cpp field_rationalfunctions.cpp field_rationals.cpp field_zmodpz.cpp ge_gfan.cpp genericwalk.cpp gfanapplication.cpp gfanlib_circuittableint.cpp gfanlib_mixedvolume.cpp \ ++gfanlib_paralleltraverser.cpp gfanlib_polyhedralfan.cpp gfanlib_polymakefile.cpp gfanlib_symmetriccomplex.cpp gfanlib_symmetry.cpp gfanlib_traversal.cpp gfanlib_zcone.cpp gfanlib_zfan.cpp gmpallocator.cpp graph.cpp groebnerengine.cpp halfopencone.cpp integergb.cpp intsinpolytope.cpp \ ++latticeideal.cpp lattice.cpp linalgfloat.cpp linalg.cpp lll.cpp log.cpp lp_cdd.cpp lp.cpp matrix.cpp minkowskidual.cpp minkowskisum.cpp minors.cpp mixedvolume.cpp monomial.cpp multiplicity.cpp myassert.cpp nbody.cpp newtonpolytope.cpp packedmonomial.cpp padic.cpp parser.cpp polyhedralcone.cpp \ ++polyhedralfan.cpp polymakefile.cpp polynomialgcd.cpp polynomial.cpp polynomialring.cpp primarydecomposition.cpp printer.cpp regularsubdivision.cpp renderer.cpp restrictedautoreduction.cpp reversesearch.cpp saturation.cpp scarf.cpp subspace.cpp substitute.cpp symmetriccomplex.cpp \ ++symmetrictraversal.cpp symmetry.cpp term.cpp termorder.cpp timer.cpp traverser_bsptree.cpp traverser_groebnerfan.cpp traverser_resultantfan.cpp traverser_resultantfanspecialization.cpp traverser_secondaryfan.cpp traverser_sphere.cpp traverser_stableintersection.cpp \ ++traverser_tropical.cpp triangulation.cpp tropical2.cpp tropicalbasis.cpp tropicalcurve.cpp tropicaldeterminant.cpp tropicalmap.cpp tropical.cpp tropicaltraverse.cpp tropical_weildivisor.cpp vektor.cpp wallideal.cpp xfig.cpp ++gfan_LDADD = -lpthread -lgmp -lcddgmp ++++++ gfan-warnings.diff ++++++ [ 8s] app_fancoarsening.cpp:41:3: warning: no return statement in function returning non-void [-Wreturn-type] [ 13s] app_main.cpp:184:12: warning: deleting object of polymorphic class type 'EnumerationAlgorithm' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] [ 13s] delete rs; //<--- In next release, make the class virtual [ 15s] app_main.cpp:208:12: warning: deleting object of abstract class type 'EnumerationFilePrinter' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] [ 15s] delete ep;//<--- In next release, make the class virtual [ 18s] app_test.cpp:103:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 20s] app_tropicalhypersurfacereconstruction.cpp:57:3: warning: no return statement in function returning non-void [-Wreturn-type] [ 27s] gfanlib_tropicalhomotopy.h:457:8: warning: operation on 'numberToDrop' may be undefined [-Wsequence-point] [ 27s] int numberToDrop=(subconfigurationIndex!=0) ? numberToDrop=k+1 : 0; --- src/app_fancoarsening.cpp | 1 + src/app_test.cpp | 4 ++-- src/app_tropicalhypersurfacereconstruction.cpp | 1 + src/enumeration.h | 3 +++ src/gfanlib_tropicalhomotopy.h | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) Index: gfan0.6.2/src/app_fancoarsening.cpp =================================================================== --- gfan0.6.2.orig/src/app_fancoarsening.cpp +++ gfan0.6.2/src/app_fancoarsening.cpp @@ -37,6 +37,7 @@ public: { int i=0; + return {}; } Index: gfan0.6.2/src/app_test.cpp =================================================================== --- gfan0.6.2.orig/src/app_test.cpp +++ gfan0.6.2/src/app_test.cpp @@ -98,8 +98,8 @@ int testIntegers() b=a; a=c; cerr<<a<<endl; - } - return 0;*/ + }*/ + return 0; } int testGfanLib() { Index: gfan0.6.2/src/app_tropicalhypersurfacereconstruction.cpp =================================================================== --- gfan0.6.2.orig/src/app_tropicalhypersurfacereconstruction.cpp +++ gfan0.6.2/src/app_tropicalhypersurfacereconstruction.cpp @@ -53,6 +53,7 @@ public: { int i=0; + return {}; } Index: gfan0.6.2/src/enumeration.h =================================================================== --- gfan0.6.2.orig/src/enumeration.h +++ gfan0.6.2/src/enumeration.h @@ -25,6 +25,8 @@ class EnumerationTargetCollector: public class EnumerationPrinter: public EnumerationTarget { + public: + virtual ~EnumerationPrinter() = default; }; @@ -60,6 +62,7 @@ class EnumerationAlgorithm void targetEndEnumeration(){if(target)target->endEnumeration();} bool targetBasis(const PolynomialSet &groebnerBasis){bool ret=true;if(target)ret=target->basis(groebnerBasis);printProgress();return ret;} public: + virtual ~EnumerationAlgorithm() = default; EnumerationAlgorithm(){target=0;progressCounter=0;} void setEnumerationTarget(EnumerationTarget *target){this->target=target;} virtual void enumerate(const PolynomialSet &groebnerBasis){} Index: gfan0.6.2/src/gfanlib_tropicalhomotopy.h =================================================================== --- gfan0.6.2.orig/src/gfanlib_tropicalhomotopy.h +++ gfan0.6.2/src/gfanlib_tropicalhomotopy.h @@ -454,7 +454,7 @@ template<class mvtyp, class mvtypDouble, //chioices are "relative" so no update is needed. choices=parent.choices; - int numberToDrop=(subconfigurationIndex!=0) ? numberToDrop=k+1 : 0; + int numberToDrop=(subconfigurationIndex!=0) ? k+1 : 0; choices[subconfigurationIndex-1].first-=numberToDrop; choices[subconfigurationIndex-1].second-=numberToDrop; ++++++ gfan0.5.tar.gz -> gfan0.6.2.tar.gz ++++++ ++++ 146149 lines of diff (skipped)