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

Commit

Permalink
Polyhedron_base.affine_hull_projection: Fix up use of echelong form
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 15, 2021
1 parent 934a33f commit 9629620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10392,7 +10392,7 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
if return_all_data:
E = M.echelon_form()
L_section = linear_transformation(matrix(len(pivots), self.ambient_dim(),
[E[i] for i in pivots]).transpose(),
[E[i] for i in range(len(pivots))]).transpose(),
side='right')
result['section_map'] = (L_section, v0 - L_section(L(v0) + image_translation))

Expand Down

0 comments on commit 9629620

Please sign in to comment.