Skip to content
Snippets Groups Projects
Commit 069924ef authored by Dan Vonk's avatar Dan Vonk Committed by Daniel Vonk
Browse files

Cleanup code

parent dd484f80
No related branches found
No related tags found
2 merge requests!19Merge develop into main,!17Add CUDA backend
......@@ -58,9 +58,6 @@ AbstractXPUScatterDevice::AbstractXPUScatterDevice(
scatterfactors.set_selection(sample_.atoms.selections[target]);
scatterfactors.set_background(true);
// defer memory allocation for scattering data
atfinal_ = nullptr;
Timer blank_timer;
timer_.insert(
map<boost::thread::id, Timer>::value_type(boost::this_thread::get_id(), blank_timer));
......
......@@ -37,7 +37,7 @@ common functionality, e.g. basic control flows.
class AbstractXPUScatterDevice : public IScatterDevice
{
protected:
coor_t *p_coordinates;
coor_t *p_coordinates = nullptr;
boost::mpi::communicator allcomm_;
boost::mpi::communicator partitioncomm_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment