Skip to content
Snippets Groups Projects

Update AssignmentCollection.__repr__

Assignment Collection for y[0,0,0] is usually not very helpful.

New representation:

In [6]:     forward_assignments = pystencils.AssignmentCollection({
   ...:         z[0, 0]: x[0, 0] * sympy.log(x[0, 0] * y[0, 0]),
   ...:     y[0,0] : x[1,1] +1
   ...:             })

In [7]: forward_assignments
Out[7]: AssignmentCollection: z_C, y_C <- f(x_C, x_NE)

Merge request reports

Pipeline #20569 passed with warnings

Pipeline passed with warnings for 4751e6cb on seitz:update-AssignmentCollection.__repr__

Approval is optional

Merged by Martin BauerMartin Bauer 5 years ago (Dec 18, 2019 8:14pm UTC)

Merge details

  • Changes merged into master with 29ad4e74.
  • Did not delete the source branch.

Pipeline #20650 passed with warnings

Pipeline passed with warnings for 29ad4e74 on master

Test coverage 78.13% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading