Skip to content

Commit

Permalink
Fix disambiguation for tile_norm storage in make_array when target is…
Browse files Browse the repository at this point in the history
… rank-1
  • Loading branch information
David Williams-Young committed Aug 17, 2023
1 parent 84efffd commit 50c122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TiledArray/conversions/make_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ inline Array make_array(
int task_count = 0;
auto task = [&](const ordinal_type index) -> value_type {
value_type tile;
tile_norms[index] = op(tile, trange.make_tile_range(index));
tile_norms.at_ordinal(index) = op(tile, trange.make_tile_range(index));
++counter;
return tile;
};
Expand Down

0 comments on commit 50c122f

Please sign in to comment.