Skip to content

Commit

Permalink
fix copy with new managed array
Browse files Browse the repository at this point in the history
  • Loading branch information
DomFijan committed Nov 5, 2024
1 parent 0208c74 commit 9549988
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions freud/environment/LocalDescriptors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ void LocalDescriptors::compute(const std::shared_ptr<locality::NeighborQuery> nq
}

sph_eval.compute(phi, theta);

std::copy(sph_eval.begin(m_negative_m), sph_eval.end(), (*m_sphArray)[sphCount]);
std::copy(sph_eval.begin(m_negative_m), sph_eval.end(), m_sphArray->data() + sphCount);
}
}
});
Expand Down

0 comments on commit 9549988

Please sign in to comment.