Skip to content

Commit

Permalink
Merge pull request #7 from USEPA/dev
Browse files Browse the repository at this point in the history
Update msxqual.c
  • Loading branch information
fengshang1972 authored Jul 7, 2023
2 parents 2bfe341 + 98c7c46 commit 84c057e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/msxqual.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ double getSourceQual(Psource source)
// --- apply time pattern if assigned
i = source->pat;
if (i == 0) return(c);
k = (int)((MSX.Qtime + MSX.Pstart) / MSX.Pstep) % MSX.Pattern[i].length;
k = (int)((MSX.Qtime + MSX.Pstart*1000) / (MSX.Pstep*1000)) % MSX.Pattern[i].length;
if (k != MSX.Pattern[i].interval)
{
if ( k < MSX.Pattern[i].interval )
Expand Down

0 comments on commit 84c057e

Please sign in to comment.