Skip to content

Commit

Permalink
fix(rxtrace): The -I option wasn't being set properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Nov 19, 2024
1 parent b750de1 commit 1fc0dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rt/rxtmain.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef lint
static const char RCSid[] = "$Id: rxtmain.cpp,v 2.10 2024/10/31 19:02:38 greg Exp $";
static const char RCSid[] = "$Id: rxtmain.cpp,v 2.11 2024/11/19 16:27:21 greg Exp $";
#endif
/*
* rxtmain.cpp - main for per-ray calculation program
Expand Down Expand Up @@ -142,7 +142,7 @@ main(int argc, char *argv[])
break;
case 'I': /* immed. irradiance */
rval = myRTmanager.rtFlags & RTimmIrrad;
check_bool(3,rval);
check_bool(2,rval);
if (rval) myRTmanager.rtFlags |= RTimmIrrad;
else myRTmanager.rtFlags &= ~RTimmIrrad;
break;
Expand Down

0 comments on commit 1fc0dc1

Please sign in to comment.