Skip to content

Commit

Permalink
Merge pull request #414 from ValeevGroup/dbwy/bugfix/vec_tile_norm
Browse files Browse the repository at this point in the history
Fix `make_array` when target shape is rank-1
  • Loading branch information
David Williams-Young authored Aug 18, 2023
2 parents 84efffd + 50c122f commit 63e180b
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 63e180b

Please sign in to comment.