Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Use t0 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Jan 19, 2024
1 parent d73fac3 commit c51fccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ double linCmtCompA(rx_solve *rx, unsigned int id, double _t, int linCmt,
xp = xout = getTime__(ind->ix[ind->idx], ind, 0);
yp = ypLast = Alast0;
} else {
xp = (ind->idx == 0 ? 0.0 : getTime_(ind->ix[ind->idx-1], ind));
xp = (ind->idx == 0 ? getTime_(ind->ix[0], ind) : getTime_(ind->ix[ind->idx-1], ind));
xout = getTime__(ind->ix[ind->idx], ind, 0);
ypLast=getAdvan(ind->idx-1);
}
Expand Down

0 comments on commit c51fccf

Please sign in to comment.