Skip to content

Commit f92c734

Browse files
committed
Fix for undeclared pointer in solvers2
1 parent adf176e commit f92c734

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solvers2/xp2known.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,12 @@ hvpinit_nc_ASL(EvalWorkspace *ew, int ndhmax, int nobj, real *ow, real *y)
424424
phvi->ihi = asl->P.ihi1;
425425
tp1 = phvi->tpv1;
426426
phvi->r = 0;
427+
Thparshv2* tpi;
427428
#ifdef ALLOW_OPENMP
428429
#pragma omp parallel num_threads(m)
429430
{
430431
int it, jt;
431-
Thparshv2 *tpi;
432+
432433

433434
it = omp_get_thread_num();
434435
tpi = tp1 + it;

0 commit comments

Comments
 (0)