Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Oct 27, 2022
1 parent 2fea43c commit 8db9d4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/classic/classic_ida_integrator.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void IDA_integrate(SIM_simulator simulate)

N_Vector y, yp, abstol, temp_y = NULL;
void *mem;
int i, j, nnz;
int i, nnz;
unsigned long totalOutputSteps = 0;
const double _ft = clcData->ft;
double dQRel = clcData->dQRel[0];
Expand All @@ -165,7 +165,6 @@ void IDA_integrate(SIM_simulator simulate)
double *solution_time = malloc(sizeof(double) * (num_steps + 1));
double **outvar = malloc(sizeof(double) * simOutput->outputs);
int *jroot = malloc(sizeof(int) * clcData->events), flag;
int event_detected = 0;
double rel_tol = dQRel, abs_tol = dQMin;
realtype reltol = rel_tol, t = clcData->it, tout;
y = abstol = NULL;
Expand Down

0 comments on commit 8db9d4b

Please sign in to comment.