1. 14 Sep, 2016 1 commit
  2. 08 Sep, 2016 1 commit
  3. 07 Sep, 2016 6 commits
  4. 06 Sep, 2016 16 commits
  5. 05 Sep, 2016 7 commits
  6. 04 Sep, 2016 9 commits
    • Thierry Monteil's avatar
    • Frédéric Chapoton's avatar
      700320e1
    • Travis Scrimshaw's avatar
      Adding binary_dihedral.py to the doc. · b46f15ad
      Travis Scrimshaw authored
      b46f15ad
    • Travis Scrimshaw's avatar
      Merge branch 'public/groups/binary_dihedral_group-20006' of... · e4356beb
      Travis Scrimshaw authored
      Merge branch 'public/groups/binary_dihedral_group-20006' of git://trac.sagemath.org/sage into public/groups/binary_dihedral_group-20006
      e4356beb
    • Johan S. R. Nielsen's avatar
    • Release Manager's avatar
      Trac #21408: Bug in FreeQuadraticModule.discriminant() · f1a17429
      Release Manager authored
      {{{
      sage: q=FreeQuadraticModule(ZZ,2,inner_product_matrix=1)
      sage: q
      Ambient free quadratic module of rank 2 over the principal ideal domain
      Integer Ring
      Inner product matrix:
      [1 0]
      [0 1]
      sage: q.determinant()
      1
      sage: q.discriminant()
      -2
      }}}
      
      This output is wrong. The discriminant should be -1.
      
      The following is another related bug. I guess thats where the error of
      the first bug lies as well.
      
      {{{
      sage: q=FreeQuadraticModule(QQ,2,inner_product_matrix=1)
      sage: q.determinant()
      1
      sage: q.discriminant()
      ------------------------------------------------------------------------
      ---
      RuntimeError                              Traceback (most recent call
      last)
      <ipython-input-204-22cd2398c8db> in <module>()
      ----> 1 q.discriminant()
      
      /usr/lib/sagemath/local/lib/python2.7/site-
      packages/sage/modules/free_quadratic_module.pyc in discriminant(self)
          377         else:
          378             r = (n-1)//2
      --> 379         return (-1)^r*self.gram_matrix().determinant()
          380
          381     def gram_matrix(self):
      
      sage/structure/element.pyx in sage.structure.element.Element.__xor__ (/u
      sr/lib/sagemath//src/build/cythonized/sage/structure/element.c:8229)()
      
      RuntimeError: Use ** for exponentiation, not '^', which means xor
      in Python, and has the wrong precedence.
      }}}
      
      This occurred on two different machines running sage 7.0 and 7.2 on
      Ubuntu 14.04.4 LTS and Fedora 24
      (both x64).
      
      This is my first ticket. Since it seems to be an easy fix, I will try to
      do that myself.
      
      URL: https://trac.sagemath.org/21408
      Reported by: sbrandhorst
      Ticket author(s): Simon Brandhorst
      Reviewer(s): Frédéric Chapoton
      f1a17429
    • Release Manager's avatar
      Trac #21263: Poset: additions to is_eulerian() · fdaf59dd
      Release Manager authored
      This patch will 1) slightly speed up computing `is_eulerian()`, 2) make
      it possible to check if a poset is (only) k-eulerian for some integer k,
      3) get a "certificate" of non-eulerianity, i.e. endpoints of a non-
      eulerian interval and 4) add `star_product()`. The last logically
      belongs to this IMO, as it is mostly used for generating a new Eulerian
      poset.
      
      It is logically possible to define this for `P` and `Q` if `P` has top
      and `Q` has bottom. However, this implementation requires both to have
      both bottom and top. On the other hand this does not check if a poset is
      graded.
      
      URL: https://trac.sagemath.org/21263
      Reported by: jmantysalo
      Ticket author(s): Jori Mäntysalo
      Reviewer(s): Frédéric Chapoton
      fdaf59dd
    • Release Manager's avatar
      Trac #21214: bootstrap should use the autotools installed in SAGE_LOCAL/bin if available · 5dc60b05
      Release Manager authored
      ... this is so that it does not have to rely on downloading the
      generated files, nor on an external installation of the autotools (which
      is convenient on Mac OS X because one has to remove fink from PATH).
      
      This patch sources `src/bin/sage-env` in order to augment PATH just
      before calling the autotools.
      
      URL: https://trac.sagemath.org/21214
      Reported by: mkoeppe
      Ticket author(s): Matthias Koeppe
      Reviewer(s): Dima Pasechnik
      5dc60b05
    • Release Manager's avatar
      Trac #21047: "sage -i autotools" fails because libtool 2.4.3 requires xz · 719155e9
      Release Manager authored
      `sage -i autotools` results in this error. In a parallel build, one is
      left with a nondeterministic collection of installed autotools versions.
      {{{
      export MAKE='make -j12 -j1' ; \
              export AUTOCONF_VERSION=2.62 ; \
              export AUTOMAKE_VERSION=1.11.1 ; \
              cd libtool-2.4.3 && bash bootstrap --skip-git --skip-po
      --gnulib-srcdir=../../src/gnulib && \
                  ./configure
      --prefix="/Users/mkoeppe/cvs/sage/local/libtool-2.4.3" && \
                  $MAKE && $MAKE install
      bootstrap:   error: Prerequisite 'xz' not found. Please install it, or
      bootstrap:          'export XZ=/path/to/xz'.
      bootstrap:   error: HACKING explains how to obtain these prerequisite
      programs:
      bootstrap:          Program    Min_version Homepage
      bootstrap:
      -----------------------------------------------------------
      bootstrap:          help2man   1.29        http://www.gnu.org/s/help2man
      bootstrap:          make       3.81        http://www.gnu.org/s/make
      bootstrap:          makeinfo   4.8         http://www.gnu.org/s/texinfo
      bootstrap:          xz         4.999.8beta http://tukaani.org/xz
      bootstrap:          autoconf   2.62        http://www.gnu.org/s/autoconf
      bootstrap:          automake   1.11.1      http://www.gnu.org/s/automake
      bootstrap:
      -----------------------------------------------------------
      make: *** [/Users/mkoeppe/cvs/sage/local/libtool-2.4.3] Error 1
      }}}
      
      URL: https://trac.sagemath.org/21047
      Reported by: mkoeppe
      Ticket author(s): Matthias Koeppe
      Reviewer(s): Jeroen Demeyer, Volker Braun
      719155e9