Skip to content
Snippets Groups Projects

[Fix] Vectorisation of Abs

Merged Markus Holzer requested to merge holzer/pystencils:VectorAbs into master

When an abs function is encountered the Vector printer checks if its argument is a 'VectorMemoryAccess'. This causes two issues 1. only abs functions containing a field access can be vectorised and 2. even worse, if the abs function does not contain a 'VectorMemoryAccess' the scalar version is printed which causes faulty code.

This MR simply removes the condition.

Merge request reports

Loading
Loading

Activity

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