Hello community,
here is the log from the commit of package ntl for openSUSE:Factory checked in at 2018-10-29 14:20:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntl (Old)
and /work/SRC/openSUSE:Factory/.ntl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntl"
Mon Oct 29 14:20:51 2018 rev:23 rq:644602 version:11.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ntl/ntl.changes 2018-08-31 10:47:34.839431014 +0200
+++ /work/SRC/openSUSE:Factory/.ntl.new/ntl.changes 2018-10-29 14:58:18.405961743 +0100
@@ -1,0 +2,9 @@
+Thu Oct 25 09:35:51 UTC 2018 - Jan Engelhardt
+
+- Update to new upstream release 11.3.1
+ * Fixed a bug that effected image, kernel, and gauss routines
+ for Mat. These routines did not behave correctly when
+ the input matrix was zero. Also improved the mat_lzz_pTest
+ program.
+
+-------------------------------------------------------------------
Old:
----
ntl-11.3.0.tar.gz
New:
----
ntl-11.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntl.spec ++++++
--- /var/tmp/diff_new_pack.RVBhZW/_old 2018-10-29 14:58:19.273963421 +0100
+++ /var/tmp/diff_new_pack.RVBhZW/_new 2018-10-29 14:58:19.273963421 +0100
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ntl
%define lname libntl39
-Version: 11.3.0
+Version: 11.3.1
Release: 0
Summary: Library for Number Theory
License: LGPL-2.1-or-later
++++++ ntl-11.3.0.tar.gz -> ntl-11.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/README new/ntl-11.3.1/README
--- old/ntl-11.3.0/README 2018-08-17 20:24:26.000000000 +0200
+++ new/ntl-11.3.1/README 2018-10-20 17:34:03.000000000 +0200
@@ -1,5 +1,5 @@
-NTL -- a library for doing numbery theory -- version 11.3.0
-Release date: 2018.08.17
+NTL -- a library for doing numbery theory -- version 11.3.1
+Release date: 2018.10.20
Author: Victor Shoup (victor@shoup.net)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/doc/tour-changes.html new/ntl-11.3.1/doc/tour-changes.html
--- old/ntl-11.3.0/doc/tour-changes.html 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/doc/tour-changes.html 2018-10-20 17:34:03.000000000 +0200
@@ -16,6 +16,20 @@
</p>
</h1>
+<p><hr><p>
+<h3>
+2018.10.20: Changes between NTL 11.3.0 and 11.3.1
+</h3>
+
+<ul>
+<li>
+Fixed a bug that effected <tt>image</tt>, <tt>kernel</tt>,
+and <tt>gauss<tt> routines for <tt>Mat<zz_p></tt>.
+These routines did not behave correctly when the
+input matrix was zero.
+Also improved the <tt>mat_lzz_pTest</tt> program.
+</ul>
+
<p><hr><p>
<h3>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/include/NTL/config.h new/ntl-11.3.1/include/NTL/config.h
--- old/ntl-11.3.0/include/NTL/config.h 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/include/NTL/config.h 2018-10-20 17:34:03.000000000 +0200
@@ -225,7 +225,7 @@
#endif
-#if 1
+#if 0
#define NTL_ENABLE_AVX_FFT
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/include/NTL/version.h new/ntl-11.3.1/include/NTL/version.h
--- old/ntl-11.3.0/include/NTL/version.h 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/include/NTL/version.h 2018-10-20 17:34:03.000000000 +0200
@@ -2,11 +2,11 @@
#ifndef NTL_version__H
#define NTL_version__H
-#define NTL_VERSION "11.3.0"
+#define NTL_VERSION "11.3.1"
#define NTL_MAJOR_VERSION (11)
#define NTL_MINOR_VERSION (3)
-#define NTL_REVISION (0)
+#define NTL_REVISION (1)
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/DIRNAME new/ntl-11.3.1/src/DIRNAME
--- old/ntl-11.3.0/src/DIRNAME 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/DIRNAME 2018-10-20 17:34:03.000000000 +0200
@@ -1 +1 @@
-ntl-11.3.0
+ntl-11.3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/NOTES new/ntl-11.3.1/src/NOTES
--- old/ntl-11.3.0/src/NOTES 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/NOTES 2018-10-20 17:34:03.000000000 +0200
@@ -1,5 +1,4 @@
-
-----------------------------
These are basically notes to myself on preparing a new
distribution of NTL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/VERSION_INFO new/ntl-11.3.1/src/VERSION_INFO
--- old/ntl-11.3.0/src/VERSION_INFO 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/VERSION_INFO 2018-10-20 17:34:03.000000000 +0200
@@ -1 +1 @@
-39:0:0
+39:1:0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/WINDIR new/ntl-11.3.1/src/WINDIR
--- old/ntl-11.3.0/src/WINDIR 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/WINDIR 2018-10-20 17:34:03.000000000 +0200
@@ -1 +1 @@
-WinNTL-11_3_0
+WinNTL-11_3_1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/mat_lzz_p.cpp new/ntl-11.3.1/src/mat_lzz_p.cpp
--- old/ntl-11.3.0/src/mat_lzz_p.cpp 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/mat_lzz_p.cpp 2018-10-20 17:34:03.000000000 +0200
@@ -6948,6 +6948,11 @@
}
if (ker) {
+ if (r == 0) {
+ ident(*ker, n);
+ return 0;
+ }
+
mat_zz_p& Ker = *ker;
Ker.SetDims(n-r, n);
if (r < n) {
@@ -7445,6 +7450,11 @@
}
if (ker) {
+ if (r == 0) {
+ ident(*ker, n);
+ return 0;
+ }
+
mat_zz_p& Ker = *ker;
Ker.SetDims(n-r, n);
if (r < n) {
@@ -7910,6 +7920,11 @@
}
if (ker) {
+ if (r == 0) {
+ ident(*ker, n);
+ return 0;
+ }
+
mat_zz_p& Ker = *ker;
Ker.SetDims(n-r, n);
if (r < n) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntl-11.3.0/src/mat_lzz_pTest.cpp new/ntl-11.3.1/src/mat_lzz_pTest.cpp
--- old/ntl-11.3.0/src/mat_lzz_pTest.cpp 2018-08-17 20:24:27.000000000 +0200
+++ new/ntl-11.3.1/src/mat_lzz_pTest.cpp 2018-10-20 17:34:03.000000000 +0200
@@ -18,16 +18,31 @@
{
long n = A.NumRows();
long m = A.NumCols();
- for (long j = 0; j < m; j++) {
- if (j > 0 && RandomBnd(2)) {
- for (long i = 0; i < n; i++)
- A[i][j] = A[i][j-1];
- }
- else {
- for (long i = 0; i < n; i++)
- random(A[i][j]);
- }
+
+ long r;
+ long choice = RandomBnd(5);
+
+ if (choice == 0 || n == 0) {
+ r = 0;
+ }
+ else if (choice == 1) {
+ r = min(n, 1+RandomBnd(10));
+ }
+ else {
+ r = 1+RandomBnd(n);
}
+
+ Mat B, C;
+
+ B.SetDims(n, n);
+ FillRandom(B);
+
+ C.SetDims(n, m);
+ for (long i = 0; i < r; i++)
+ for (long j = 0; j < m; j++)
+ random(C[i][j]);
+
+ mul(A, B, C);
}
void FillRandom(Vec& A)
@@ -123,7 +138,7 @@
SetSeed(seed);
cerr << "\nseed=" << seed << "\n";
- long iters = 100;
+ long iters = 100;
#if 1
@@ -239,7 +254,7 @@
#if 1
cerr << "\ntesting image and kernel";
- for (long cnt = 0; cnt < iters; cnt++) {
+ for (long cnt = 0; cnt < 4*iters; cnt++) {
cerr << ".";
long bnd = (cnt%2) ? 25 : 1500;
@@ -261,6 +276,8 @@
image(im1, A);
kernel(ker1, A);
+ //cerr << n << ":" << ":" << m << ":" << im.NumRows() << "||";
+
if (im != im1 || !IsZero(ker1*A) || im1.NumRows() + ker1.NumRows() != n) {
cerr << "\n*\n*\n*\n*\n*********** oops " << len << " " << n << m << "\n";