Skip to content
Snippets Groups Projects
Commit 05dba23f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing warning for default constructor

parent 53613eef
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,7 @@ int main(int argc, char* argv[])
// visualization
if (i % 100 == 0)
{
Old.ghost_get<U,V>();
Old.write_frame("output",count);
count++;
}
......
[pack]
files = main_vic_petsc.cpp Makefile
files = main_vic_petsc.cpp main_vic_petsc_opt.cpp Makefile
......@@ -7,7 +7,7 @@ LDIR =
OBJ = main.o
%.o: %.cpp
$(CC) -O3 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
$(CC) -O0 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
vect: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
......
......@@ -450,7 +450,7 @@ public:
// default constructor (structure contain garbage)
vector_dist()
:v_cl(create_vcluster<Memory>()),opt(opt)
:v_cl(create_vcluster<Memory>())
{}
......
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