[sagemath] 01/01: Add another commit to u0-version-singular-4.1.0p2.patch to fix a doctest.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 28 09:50:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sagemath.

commit d9cd451e6b625f026d3fc5687e03e16fcc4bb436
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Mar 28 10:49:43 2017 +0100

    Add another commit to u0-version-singular-4.1.0p2.patch to fix a doctest.
---
 debian/patches/u0-version-singular-4.1.0p2.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/patches/u0-version-singular-4.1.0p2.patch b/debian/patches/u0-version-singular-4.1.0p2.patch
index 84ae05d..a1ccacb 100644
--- a/debian/patches/u0-version-singular-4.1.0p2.patch
+++ b/debian/patches/u0-version-singular-4.1.0p2.patch
@@ -15,6 +15,13 @@ From: Jean-Pierre Flori <jean-pierre.flori at ssi.gouv.fr>
 Date: Fri, 24 Feb 2017 13:08:12 +0000
 Subject: Further doctest changes.
 
+From fed37d779356f22bb1c9f53b3c1016aca11ab692 Mon Sep 17 00:00:00 2001
+From: Jean-Pierre Flori <jean-pierre.flori at ssi.gouv.fr>
+Date: Tue, 14 Mar 2017 13:00:43 +0000
+Subject: Fix dynatomic polynomial test.
+
+Only the scaling factor changed.
+
 --- a/sage/src/sage/libs/singular/decl.pxd
 +++ b/sage/src/sage/libs/singular/decl.pxd
 @@ -484,8 +484,8 @@
@@ -727,3 +734,14 @@ Subject: Further doctest changes.
  
  
          .. NOTE::
+--- a/sage/src/sage/schemes/affine/affine_morphism.py
++++ b/sage/src/sage/schemes/affine/affine_morphism.py
+@@ -670,7 +670,7 @@
+             sage: H = Hom(A,A)
+             sage: F = H([1/2*x^2 + sqrt(3)])
+             sage: F.dynatomic_polynomial([1,1])
+-            (2.00000000000000*x^4 + 5.85640646055102*x^2 + 24.0000000000000)/(x^2 + (-2.00000000000000)*x + 3.46410161513775)
++            (0.125000000000000*x^4 + 0.366025403784439*x^2 + 1.50000000000000)/(0.500000000000000*x^2 - x + 1.73205080756888)
+         """
+         if self.domain() != self.codomain():
+             raise TypeError("must have same domain and codomain to iterate")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list