Ticket #3581 (closed Bugs: fixed)

Opened 8 years ago

Last modified 7 years ago

MultiArray storage order example incorrect for fortran_storage_ordering

Reported by: Rhys Ulerich <rhys.ulerich@…> Owned by: garcia
Milestone: To Be Determined Component: multi_array
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:


In the boost::fortran_storage_order example there may be a missing set of parens. I think

array_type A(boost::extents[3][4][2],boost::fortran_storage_order); 

should become

array_type A(boost::extents[3][4][2],boost::fortran_storage_order()); 

based on the constructor

  explicit multi_array(const ExtentList& sizes,
                       const storage_order_type& store = c_storage_order(),
                       const Allocator& alloc = Allocator());

and some first hand compilation error experience.


Change History

comment:1 Changed 7 years ago by jewillco

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

(In [62605]) Fixed typo in doc example; fixes #3581

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 a comment

Modify Ticket

Change Properties
<Author field>
as closed
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.