Skip to content
Snippets Groups Projects
Commit 1e55dd14 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

correct first 2 valgrind errors (one to double check by Giovanni)

parent 7384272f
No related branches found
No related tags found
No related merge requests found
...@@ -834,8 +834,8 @@ void hjv( ...@@ -834,8 +834,8 @@ void hjv(
const int rfj_size = (lit > lmt) ? lit : lmt; const int rfj_size = (lit > lmt) ? lit : lmt;
const int rfn_size = c4->litpo; const int rfn_size = c4->litpo;
double *rfj, *rfn; double *rfj, *rfn;
rfj = new double[rfj_size](); rfj = new double[rfj_size+1]();
rfn = new double[rfn_size](); rfn = new double[rfn_size+1]();
jer = 0; jer = 0;
int ivhb = 0; int ivhb = 0;
for (int nf40 = 1; nf40 <= nsphmo; nf40++) { // GPU portable? for (int nf40 = 1; nf40 <= nsphmo; nf40++) { // GPU portable?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment