Skip to content

Commit

Permalink
Fix typo in preprocessor definition.
Browse files Browse the repository at this point in the history
Via Hiroyuki Sakai, issue mmp#199.
  • Loading branch information
mmp committed Dec 15, 2018
1 parent 3e0b2a7 commit af4b706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static const double DoubleOneMinusEpsilon = 0x1.fffffffffffffp-1;
static const float FloatOneMinusEpsilon = 0x1.fffffep-1;
#endif

#ifdef PBRT_FLOAT_IS_DOUBLE
#ifdef PBRT_FLOAT_AS_DOUBLE
static const Float OneMinusEpsilon = DoubleOneMinusEpsilon;
#else
static const Float OneMinusEpsilon = FloatOneMinusEpsilon;
Expand Down

0 comments on commit af4b706

Please sign in to comment.