- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
according to the reference manual, the identity element passed to parallel_reduce must be the RIGHT identity element (table 12, page 34). However, as the underlying operation need not be commutative and blocks are usually evaluated from left to right, I would assume that the LEFT identity element is used as the starting value. Any hints what is wrong with my assumption?
Thanks and kind regards,
Peter
according to the reference manual, the identity element passed to parallel_reduce must be the RIGHT identity element (table 12, page 34). However, as the underlying operation need not be commutative and blocks are usually evaluated from left to right, I would assume that the LEFT identity element is used as the starting value. Any hints what is wrong with my assumption?
Thanks and kind regards,
Peter
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting the documentation error. Yes, it should be the left identity.
We froze our documentation for the next update last week, so the fix likely won't show up for a few months.
- Arch

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page