Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
One transposition only
Browse files Browse the repository at this point in the history
  • Loading branch information
Etn40ff committed Jul 15, 2020
1 parent 4eff413 commit 7fe6b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5035,11 +5035,11 @@ def linear_transformation(self, linear_transf, new_base_ring=None):
else:
new_vertices = ()
if self.n_rays():
new_rays = ( r for r in (linear_transf*matrix(R, self.rays()).transpose()).transpose() )
new_rays = ( r for r in matrix(R, self.rays())*linear_transf.transpose() )
else:
new_rays = ()
if self.n_lines():
new_lines = ( l for l in (linear_transf*matrix(R, self.lines()).transpose()).transpose() )
new_lines = ( l for l in matrix(R, self.lines())*linear_transf.transpose() )
else:
new_lines = ()

Expand Down

0 comments on commit 7fe6b43

Please sign in to comment.