Skip to content

Commit

Permalink
Fixed incorrect drawing after displaying absolute value in linear for…
Browse files Browse the repository at this point in the history
…mat.
  • Loading branch information
hugen79 committed Jan 8, 2020
1 parent b9cdfd8 commit 96e7efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ static uint32_t trace_into_index(
v = refpos - group_delay(coeff, freq, point_count, i) * scale;
break;
case TRC_LINEAR:
v = refpos + linear(coeff[i]) * scale;
v = refpos - linear(coeff[i]) * scale;
break;
case TRC_SWR:
v = refpos+ (1 - swr(coeff[i])) * scale;
Expand Down

0 comments on commit 96e7efe

Please sign in to comment.