Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3820 closed Bugs (fixed)

MultiArray reference manual: please replace std::times by std::multiplies

Reported by: niels_dekker Owned by: garcia
Milestone: Boost 1.42.0 Component: multi_array
Version: Boost 1.41.0 Severity: Problem
Keywords: Cc:

Description uses std::times to express the first precondition of reshape:

std::accumulate(sizes.begin(),sizes.end(),size_type(1),std::times<size_type>()) == this->num_elements();

std::times is non-standard, please use std::multiplies instead.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jewillco

  • Resolution set to fixed
  • Status changed from new to closed

(In [62606]) Changed "times" to "multiplies" as per #3820; fixes #3820

comment:2 Changed 7 years ago by jewillco

(In [65771]) Merged r46508 (bug fixes), r53790 (added test case), r62605 (fix for #3581), r62606 (fix for #3820), r62607 (fix for #3989), r62609 (missing header), r62963 (non-Trac bug fixes) from trunk; refs #3581, #3820, #3989

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain garcia.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.