Hello community, here is the log from the commit of package gap-matricesforhomalg for openSUSE:Factory checked in at 2018-02-06 16:50:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gap-matricesforhomalg (Old) and /work/SRC/openSUSE:Factory/.gap-matricesforhomalg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gap-matricesforhomalg" Tue Feb 6 16:50:14 2018 rev:3 rq:573252 version:2018.01.07 Changes: -------- --- /work/SRC/openSUSE:Factory/gap-matricesforhomalg/gap-matricesforhomalg.changes 2018-01-23 13:50:45.359874282 +0100 +++ /work/SRC/openSUSE:Factory/.gap-matricesforhomalg.new/gap-matricesforhomalg.changes 2018-02-06 16:50:17.752862259 +0100 @@ -1,0 +2,6 @@ +Mon Feb 5 22:50:17 UTC 2018 - jeng...@inai.de + +- Update to new upstream release 2018.01.07 + * It does not look like there is ever going to be a changelog. + +------------------------------------------------------------------- Old: ---- MatricesForHomalg-2017.11.03.tar.bz2 New: ---- MatricesForHomalg-2018.01.07.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gap-matricesforhomalg.spec ++++++ --- /var/tmp/diff_new_pack.eDGYcT/_old 2018-02-06 16:50:18.896808688 +0100 +++ /var/tmp/diff_new_pack.eDGYcT/_new 2018-02-06 16:50:18.900808500 +0100 @@ -1,7 +1,7 @@ # # spec file for package gap-matricesforhomalg # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,7 +20,7 @@ Summary: GAP: Matrices for the homalg project License: GPL-2.0 Group: Productivity/Scientific/Math -Version: 2017.11.03 +Version: 2018.01.07 Release: 0 Url: http://homalg-project.github.io/homalg_project/MatricesForHomalg/ ++++++ MatricesForHomalg-2017.11.03.tar.bz2 -> MatricesForHomalg-2018.01.07.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/PackageInfo.g new/MatricesForHomalg-2018.01.07/PackageInfo.g --- old/MatricesForHomalg-2017.11.03/PackageInfo.g 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/PackageInfo.g 2018-01-17 14:14:06.000000000 +0100 @@ -7,7 +7,7 @@ Version := Maximum( [ "2011.12.05", ## Markus' version ## this line prevents merge conflicts - "2017.11.03", ## Mohamed's version + "2018.01.07", ## Mohamed's version ## this line prevents merge conflicts "2013.07.11", ## Sebas' version ## this line prevents merge conflicts diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/VERSION new/MatricesForHomalg-2018.01.07/VERSION --- old/MatricesForHomalg-2017.11.03/VERSION 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/VERSION 2018-01-17 14:14:06.000000000 +0100 @@ -1 +1 @@ -2017.11.03 \ No newline at end of file +2018.01.07 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/doc/chap0.html new/MatricesForHomalg-2018.01.07/doc/chap0.html --- old/MatricesForHomalg-2017.11.03/doc/chap0.html 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/doc/chap0.html 2018-01-17 14:14:06.000000000 +0100 @@ -28,7 +28,7 @@ <h2>Matrices for the <strong class="pkg">homalg</strong> project</h2> -<p>Version 2017.11.03</p> +<p>Version 2018.01.07</p> <p>June 2015</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/doc/chap0.txt new/MatricesForHomalg-2018.01.07/doc/chap0.txt --- old/MatricesForHomalg-2017.11.03/doc/chap0.txt 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/doc/chap0.txt 2018-01-17 14:14:06.000000000 +0100 @@ -6,7 +6,7 @@ [1XMatrices for the [5Xhomalg[105X project[101X - Version 2017.11.03 + Version 2018.01.07 June 2015 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/doc/chap0_mj.html new/MatricesForHomalg-2018.01.07/doc/chap0_mj.html --- old/MatricesForHomalg-2017.11.03/doc/chap0_mj.html 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/doc/chap0_mj.html 2018-01-17 14:14:06.000000000 +0100 @@ -31,7 +31,7 @@ <h2>Matrices for the <strong class="pkg">homalg</strong> project</h2> -<p>Version 2017.11.03</p> +<p>Version 2018.01.07</p> <p>June 2015</p> Binary files old/MatricesForHomalg-2017.11.03/doc/manual.pdf and new/MatricesForHomalg-2018.01.07/doc/manual.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/gap/COLEM.gi new/MatricesForHomalg-2018.01.07/gap/COLEM.gi --- old/MatricesForHomalg-2017.11.03/gap/COLEM.gi 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/gap/COLEM.gi 2018-01-17 14:14:06.000000000 +0100 @@ -2013,32 +2013,32 @@ end ); -## -InstallMethod( CertainRows, - "COLEM: for homalg matrices (HasEvalUnionOfRows)", - [ IsHomalgMatrix and HasEvalUnionOfRows, IsList ], - - function( M, plist ) - local e, A, B, a, rowsA, rowsB, plistA, plistB; - - Info( InfoCOLEM, 2, COLEM.color, "\033[01mCOLEM\033[0m ", COLEM.color, "CertainRows( UnionOfRows )", "\033[0m" ); - - e := EvalUnionOfRows( M ); - - A := e[1]; - B := e[2]; - - a := NrRows( A ); - - rowsA := [ 1 .. a ]; - rowsB := [ 1 .. NrRows( B ) ]; - - plistA := Filtered( plist, x -> x in rowsA ); ## CAUTION: don't use Intersection(2) - plistB := Filtered( plist - a, x -> x in rowsB ); ## CAUTION: don't use Intersection(2) - - return UnionOfRows( CertainRows( A, plistA ), CertainRows( B, plistB ) ); - -end ); +## wrong +#InstallMethod( CertainRows, +# "COLEM: for homalg matrices (HasEvalUnionOfRows)", +# [ IsHomalgMatrix and HasEvalUnionOfRows, IsList ], +# +# function( M, plist ) +# local e, A, B, a, rowsA, rowsB, plistA, plistB; +# +# Info( InfoCOLEM, 2, COLEM.color, "\033[01mCOLEM\033[0m ", COLEM.color, "CertainRows( UnionOfRows )", "\033[0m" ); +# +# e := EvalUnionOfRows( M ); +# +# A := e[1]; +# B := e[2]; +# +# a := NrRows( A ); +# +# rowsA := [ 1 .. a ]; +# rowsB := [ 1 .. NrRows( B ) ]; +# +# plistA := Filtered( plist, x -> x in rowsA ); ## CAUTION: don't use Intersection(2) +# plistB := Filtered( plist - a, x -> x in rowsB ); ## CAUTION: don't use Intersection(2) +# +# return UnionOfRows( CertainRows( A, plistA ), CertainRows( B, plistB ) ); +# +#end ); ## InstallMethod( CertainRows, @@ -2157,32 +2157,32 @@ end ); -## -InstallMethod( CertainColumns, - "COLEM: for homalg matrices (HasEvalUnionOfColumns)", - [ IsHomalgMatrix and HasEvalUnionOfColumns, IsList ], - - function( M, plist ) - local e, A, B, a, columnsA, columnsB, plistA, plistB; - - Info( InfoCOLEM, 2, COLEM.color, "\033[01mCOLEM\033[0m ", COLEM.color, "CertainColumns( UnionOfColumns )", "\033[0m" ); - - e := EvalUnionOfColumns( M ); - - A := e[1]; - B := e[2]; - - a := NrColumns( A ); - - columnsA := [ 1 .. a ]; - columnsB := [ 1 .. NrColumns( B ) ]; - - plistA := Filtered( plist, x -> x in columnsA ); ## CAUTION: don't use Intersection(2) - plistB := Filtered( plist - a, x -> x in columnsB ); ## CAUTION: don't use Intersection(2) - - return UnionOfColumns( CertainColumns( A, plistA ), CertainColumns( B, plistB ) ); - -end ); +## wrong +#InstallMethod( CertainColumns, +# "COLEM: for homalg matrices (HasEvalUnionOfColumns)", +# [ IsHomalgMatrix and HasEvalUnionOfColumns, IsList ], +# +# function( M, plist ) +# local e, A, B, a, columnsA, columnsB, plistA, plistB; +# +# Info( InfoCOLEM, 2, COLEM.color, "\033[01mCOLEM\033[0m ", COLEM.color, "CertainColumns( UnionOfColumns )", "\033[0m" ); +# +# e := EvalUnionOfColumns( M ); +# +# A := e[1]; +# B := e[2]; +# +# a := NrColumns( A ); +# +# columnsA := [ 1 .. a ]; +# columnsB := [ 1 .. NrColumns( B ) ]; +# +# plistA := Filtered( plist, x -> x in columnsA ); ## CAUTION: don't use Intersection(2) +# plistB := Filtered( plist - a, x -> x in columnsB ); ## CAUTION: don't use Intersection(2) +# +# return UnionOfColumns( CertainColumns( A, plistA ), CertainColumns( B, plistB ) ); +# +#end ); ## InstallMethod( CertainColumns, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/gap/HomalgRing.gd new/MatricesForHomalg-2018.01.07/gap/HomalgRing.gd --- old/MatricesForHomalg-2017.11.03/gap/HomalgRing.gd 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/gap/HomalgRing.gd 2018-01-17 14:14:06.000000000 +0100 @@ -1390,6 +1390,12 @@ DeclareOperation( "*", [ IsHomalgRing, IsList ] ); +DeclareOperation( "PolynomialRingWithLexicographicOrdering", + [ IsHomalgRing, IsList ] ); + +DeclareAttribute( "PolynomialRingWithLexicographicOrdering", + IsHomalgRing ); + DeclareOperation( "PolynomialRingWithProductOrdering", [ IsHomalgRing, IsList ] ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MatricesForHomalg-2017.11.03/gap/HomalgRing.gi new/MatricesForHomalg-2018.01.07/gap/HomalgRing.gi --- old/MatricesForHomalg-2017.11.03/gap/HomalgRing.gi 2017-12-19 11:18:40.000000000 +0100 +++ new/MatricesForHomalg-2018.01.07/gap/HomalgRing.gi 2018-01-17 14:14:06.000000000 +0100 @@ -1884,23 +1884,21 @@ ## InstallGlobalFunction( HomalgRingElement, function( arg ) - local nargs, R, constructor; + local nargs, R; nargs := Length( arg ); R := arg[nargs]; if HasRingElementConstructor( R ) then - constructor := RingElementConstructor( R ); + return CallFuncList( RingElementConstructor( R ), arg ); elif not IsHomalgInternalRingRep( R ) then Error( "the non-internal homalg ring must contain a ring element constructor as the attribute RingElementConstructor\n" ); elif IsString( arg[1] ) then - return EvalString( arg[1] ); - else - return arg[1]; + return One( R ) * EvalString( arg[1] ); fi; - return CallFuncList( constructor, arg ); + return One( R ) * arg[1]; end );