Skip to content

Commit

Permalink
LEAVE ME ALONE
Browse files Browse the repository at this point in the history
  • Loading branch information
20DM committed Nov 22, 2024
1 parent dd9fba6 commit 4e64b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/purify/h5reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class H5Handler {
}

void _shuffle() {
std::uniform_int_distribution<size_t> uni(_slicepos,_slicepos + _slicelen - 1);
std::uniform_int_distribution<size_t> uni(_slicepos, _slicepos + _slicelen - 1);
_batchpos = uni(_rng);
}

Expand Down Expand Up @@ -199,7 +199,7 @@ utilities::vis_params stochread_visibility(H5Handler& file, const size_t N, cons
utilities::vis_params uv_vis;

std::vector<t_real> utemp =
file.stochread<t_real>("u", N, true); //< shuffle batch starting position
file.stochread<t_real>("u", N, true); //< shuffle batch starting position
uv_vis.u = Eigen::Map<Vector<t_real>>(utemp.data(), utemp.size(), 1);

// found that a reflection is needed for the orientation
Expand Down

0 comments on commit 4e64b22

Please sign in to comment.