File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -556,8 +556,8 @@ namespace TiledArray {
556556 // / \param arg The argument to be multiplied
557557 // / \return A scalar that is equal to <tt>prod_i arg[i]</tt>
558558 template <typename Arg>
559- inline typename Arg::numeric_type prod (const Arg& arg) {
560- return arg.prod ();
559+ inline typename TileTrait< Arg> ::numeric_type product (const Arg& arg) {
560+ return arg.product ();
561561 }
562562
563563 // / Squared vector 2-norm of the elements of a tile
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ namespace TiledArray {
8787
8888 // Reduce an argument
8989 void operator ()(result_type& result, const argument_type& arg) const {
90- result *= TiledArray::prod (arg);
90+ result *= TiledArray::product (arg);
9191 }
9292
9393 }; // class ProductReduction
You can’t perform that action at this time.
0 commit comments