Bob,
At 07:12 AM 12/14/2004, you wrote:
Out of curiousity I downloaded a copy of DrawXTL (Windows version & source as well). BTW still more work on the FCJ function. It had a bad habit of misbehaving for reflections at exactly 90.0000 deg 2-theta & tmp=0.0. It seems that the choice of F=0.0 was a bad one (divide by zero crashes, etc.). Changing it to F=1.0 made problem go away without screwing up the profile. I'll send source if you want - I don't have it on this machine.
Strange that it took this long to find this bug. I guess reflections at exactly 90 degrees are rare. There isn't any need to send me the source as I'm not supporting any code using the algorithm.
Larry
