Opened 8 years ago

Closed 8 years ago

#14113 closed defect (duplicate)

affine root system ambient lattice issue

Reported by: mshimo Owned by: sage-combinat
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: combinatorics Keywords: affine root system, ambient lattice
Cc: sage-combinat-devel Merged in:
Authors: Reviewers: Nicolas M. Thiéry
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

error is in combinat/root_system/type_affine.py

sage: L = RootSystem?(["A",1,1]).ambient_lattice()

sage: L.simple_root(0)

returns rational coefficients when integers are expected, yielding the error

TypeError?: unsupported operand parent(s) for '*': 'Rational Field' and 'Ambient lattice of the Root system of type ['A', 1, 1]'

Change History (4)

comment:1 Changed 8 years ago by mshimo

  • Status changed from new to needs_review

This was an issue in #14085 which has been resolved there. This can be closed as duplicate.

comment:2 Changed 8 years ago by nthiery

  • Status changed from needs_review to positive_review

comment:3 Changed 8 years ago by jdemeyer

  • Authors nthiery deleted
  • Milestone changed from sage-5.8 to sage-duplicate/invalid/wontfix
  • Reviewers set to Nicolas M. Thiéry

comment:4 Changed 8 years ago by jdemeyer

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.