Skip to content

Commit

Permalink
calib/delays.c: fix RING_PAPER output
Browse files Browse the repository at this point in the history
0 from strcmp means that the strings are equal
  • Loading branch information
hcmh committed Apr 12, 2024
1 parent fdd361e commit 52f5a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calib/delays.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static void calc_intersections(int Nint, int N, int no_intersec_sp, float dist[N
// Print projection angles and corresponding offsets, for RING paper reproduction
char* str = getenv("RING_PAPER");

if ((NULL != str) && (1 == strcmp(str, "1"))) {
if ((NULL != str) && (0 == strcmp(str, "1"))) {

for (int i = 0; i < N; i++) {

Expand Down

0 comments on commit 52f5a35

Please sign in to comment.