Ticket #12090: trac_12090-lastpatch.patch

File trac_12090-lastpatch.patch, 753 bytes (added by ncohen, 8 years ago)
  • sage/geometry/pseudolines.py

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1369430722 -7200
    # Node ID 23bf47250549ebc20ee5e6852b3f87b351bc8b86
    # Parent  e1b91a8bf558133486b38bf41bff86a3c788d9c8
    Arrangements of pseudolines -- last patch
    
    diff --git a/sage/geometry/pseudolines.py b/sage/geometry/pseudolines.py
    a b  
    263263            (encoding == "auto" and (len(seq[0]) == len(seq)-1) and max(seq[0]) > 1)):
    264264
    265265            self._n = len(seq)
    266             self._permutations = deepcopy(seq)
     266            self._permutations = map(list,seq)
    267267
    268268            if max(map(max, seq)) != self._n -1 :
    269269                raise ValueError("Are the lines really numbered from 0 to n-1?")