Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Fixed bug in sample testing discovered by Rob G.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Sep 13, 2015
1 parent fc66f7b commit 115a703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/rfluxmtx.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef lint
static const char RCSid[] = "$Id: rfluxmtx.c,v 2.30 2015/07/22 04:23:27 greg Exp $";
static const char RCSid[] = "$Id: rfluxmtx.c,v 2.31 2015/09/13 21:09:20 greg Exp $";
#endif
/*
* Calculate flux transfer matrix or matrices using rcontrib
Expand Down Expand Up @@ -685,7 +685,7 @@ sample_origin(PARAMS *p, FVECT orig, const FVECT rdir, double x)
/* special case for lone surface */
if (p->nsurfs == 1) {
sp = p->slist;
if (DOT(sp->snrm, rdir) >= -FTINY) {
if (DOT(sp->snrm, rdir) >= FTINY) {
fprintf(stderr,
"%s: internal - sample behind sender '%s'\n",
progname, sp->sname);
Expand Down

0 comments on commit 115a703

Please sign in to comment.