Skip to content
Snippets Groups Projects
Commit 92dbfb2d authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

[wip] fixes compilation bug

parent 11ef2ccd
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@ list(APPEND TURTLE_LIBS "${OpenMP_CXX_LIB_NAMES}")
#####################################################################################
## Extra flags
set(CMAKE_CXX_COMPILE_FLAGS "${CMAKE_CXX_COMPILE_FLAGS} $ENV{TURTLE_COMPILATION_FLAGS} -Wall -g -Wfatal-errors -fopenmp")
set(CMAKE_CXX_COMPILE_FLAGS "${CMAKE_CXX_COMPILE_FLAGS} $ENV{TURTLE_COMPILATION_FLAGS} -Wall -g -fopenmp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_COMPILE_FLAGS}")
#####################################################################################
......
......@@ -198,7 +198,7 @@ class particle_set: public abstract_particle_set
return EXIT_SUCCESS;
}
int redistribute(std::vector<std::unique_ptr<particle_rnumber>> additional_data)
int redistribute(std::vector<std::unique_ptr<particle_rnumber[]>> additional_data)
{
this->pdistributor.template redistribute<interpolator_class,
state_size,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment