source.c typo in current HEAD

Hey Greg,

I grabbed the latest HEAD to check out your new optimization. It looks like there is a typo in source.c that results in a compile error. Here is a diff.

[root@fs rt]# diff source.c source.c.orig
386c386
< return &noobs; /* could happen if ray is outside */

···

---

      return &nobs; /* could happen if ray is outside */

-Jack

John de Valpine wrote:

Hey Greg,

I grabbed the latest HEAD to check out your new optimization. It looks like there is a typo in source.c that results in a compile error. Here is a diff.

[root@fs rt]# diff source.c source.c.orig
386c386
< return &noobs; /* could happen if ray is outside */
---
> return &nobs; /* could happen if ray is outside */

The HEAD dump is built a bit after midnight european time. It
looks like Greg happened to check in his latest changes just
after this happened, so you don't have the most current version
(the code containing the above line is now in a seperate file).

I just integrated the new stuff with the SCons build system, and
everything compiles fine here. It will all be in the HEAD dump
tomorrow (really now! ;).

-schorsch

···

--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/

Thanks, Schorsch for pointing that out. I try not to check in anything after midnight, but that's California time!

If you want to see the latest, you can always go directly to the source pages Peter has so lovingly arranged for us:

  http://www.radiance-online.org/cgi-bin/viewcvs.cgi/ray/src/

There you can always see the changes and download the latest, without relying on the nightly dump.

-Greg

P.S. A "rule of thumb" on check-ins is that they should always compile. I obviously messed up on that check-in, then messed up again by telling everyone to go grab it!! (Sorry about that.)

···

From: Georg Mischler <[email protected]>
Date: January 1, 2004 3:08:01 AM PST

John de Valpine wrote:

Hey Greg,

I grabbed the latest HEAD to check out your new optimization. It looks like there is a typo in source.c that results in a compile error. Here is a diff.

[root@fs rt]# diff source.c source.c.orig
386c386
< return &noobs; /* could happen if ray is outside */
---

      return &nobs; /* could happen if ray is outside */

The HEAD dump is built a bit after midnight european time. It
looks like Greg happened to check in his latest changes just
after this happened, so you don't have the most current version
(the code containing the above line is now in a seperate file).

I just integrated the new stuff with the SCons build system, and
everything compiles fine here. It will all be in the HEAD dump
tomorrow (really now! ;).

-schorsch