From 406c4314505509f74d73c689552c5c24293d963e Mon Sep 17 00:00:00 2001 From: John Cremona Date: Mon, 23 Mar 2015 10:10:52 +0000 Subject: [PATCH] fix saturation bug; bump version to 20150323, library to 1.1.0 --- configure.ac | 4 ++-- libsrc/egr.cc | 37 +++++++++++++++++++++---------------- tests/tsat3.cc | 9 +++++++-- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/configure.ac b/configure.ac index 211cfa47..98887847 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) -AC_INIT([eclib], [20150228], [john.cremona@gmail.com]) +AC_INIT([eclib], [20150323], [john.cremona@gmail.com]) AM_INIT_AUTOMAKE([-Wall]) AC_MSG_NOTICE([Configuring eclib...]) AC_CONFIG_SRCDIR([libsrc]) @@ -24,7 +24,7 @@ LT_INIT # 3. If interfaces were removed (breaks backward compatibility): increment # current, and set both revision and age to zero. LT_CURRENT=1 -LT_REVISION=0 +LT_REVISION=1 LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) diff --git a/libsrc/egr.cc b/libsrc/egr.cc index 9d383fa0..3a5abfd7 100644 --- a/libsrc/egr.cc +++ b/libsrc/egr.cc @@ -621,7 +621,7 @@ bigint egr_index(const vector& Plist, int real_too) imagematrix.push_back(im); vector CG=CGS.ComponentGroup(*pi); for(unsigned int ni=0; ni moduli, const mat& image) #endif if(modulus==1) continue; #ifdef DEBUG_INDEX - cout<<"Column = "< unsatprimes; - int success = saturate_points(C, points, index, unsatprimes, SAT_BND, use_egr, (verbose)); + int success = 1; + + if (npts) + { + success = saturate_points(C, points, index, unsatprimes, SAT_BND, use_egr, (verbose)); + } if(success) {