<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hy Brett,
<p>this error occurs because the C compiler uses integers for 1 and 300
in '1/300'.
<br>To remove the error, use '1.0/300' or '(float)(1/300)'.
<p>Cheers. EF.
<p>"HUNTER, Brett" wrote:
<blockquote TYPE=CITE>
<p><font size=-1>Hi All,</font>
<br><font size=-1> Has anyone had problems with the Guide.comp,
when W=1/300, as per the manual? I found I had to set it to the real
number 0.0033 to stop an error from occuring. I am using the Borland
Compiler on a PC, so maybe the Unix compilers handle this correctly.</font>
<p><font size=-1>Ciao</font>
<br><font size=-1>Brett</font>
<p><font size=-1>+----------------------------------------------------------------------------------+</font>
<br><font size=-1>Dr Brett Hunter</font>
<br><font size=-1>Building 58, ANSTO,PMB 1, Menai,</font>
<br><font size=-1>NSW 2234, Australia</font>
<br><font size=-1>Work: -61-2-9717-3338</font>
<br><font size=-1>Fax: -61-2-9717-3606</font>
<br><font size=-1>email bah@ansto.gov.au</font>
<br><font size=-1>Web sites: <a href="http://www.ansto.gov.au/ansto/neut/s_hun.html" TARGET="_blank">http://www.ansto.gov.au/ansto/neut/s_hun.html</a></font>
<br><font size=-1>
<a href="http://www.ansto.gov.au/ansto/neut/index.html" TARGET="_blank">http://www.ansto.gov.au/ansto/neut/index.html</a></font>
<br><font size=-1>
<a href="http://www.rietica.org" TARGET="_blank">http://www.rietica.org</a></font>
<br><font size=-1>PGP Public key available.</font>
<br><font size=-1>+-----------------------------------------------------------------------------------+</font>
<p><font size=-1>>-----Original Message-----</font>
<br><font size=-1>>From: Ulrich C. Wildgruber MPI fuer Metallforschung
Stuttgart</font>
<br><font size=-1>>[<a href="mailto:wildgrub@dxray.mpi-stuttgart.mpg.de">mailto:wildgrub@dxray.mpi-stuttgart.mpg.de</a>]</font>
<br><font size=-1>>Sent: Wednesday, 21 March 2001 20:14</font>
<br><font size=-1>>To: neutron-mc@risoe.dk</font>
<br><font size=-1>>Subject: Bender.comp ...</font>
<br><font size=-1>></font>
<br><font size=-1>></font>
<br><font size=-1>>Hi everybody,</font>
<br><font size=-1>></font>
<br><font size=-1>>a couple of days ago the word was sent out that an older
version of the</font>
<br><font size=-1>>Bender component produces wrong angular distributions.</font>
<br><font size=-1>>I ran the older and newer version of Bender.comp in
the same instrument</font>
<br><font size=-1>>file under identical conditions (yes - I used the same
seed! :-)</font>
<br><font size=-1>>and got identical output from a divergence monitor located</font>
<br><font size=-1>>downstream the</font>
<br><font size=-1>>Bender component. The executable had a different size
and I am</font>
<br><font size=-1>>wondering</font>
<br><font size=-1>>if certain parameters for the Bender have to be specified
to</font>
<br><font size=-1>>see a difference.</font>
<br><font size=-1>>Could anybody shed more light on this issue...</font>
<br><font size=-1>>I would also appreciate to receive example instrument
files which I can</font>
<br><font size=-1>>run to see the difference.</font>
<br><font size=-1>></font>
<br><font size=-1>>Thanks a lot!</font>
<br><font size=-1>></font>
<br><font size=-1>>Uli</font>
<br><font size=-1>></font>
<br><font size=-1>>--</font>
<br><font size=-1>>Ulrich WILDGRUBER</font>
<br><font size=-1>>wildgrub@dxray.mpi-stuttgart.mpg.de</font>
<br><font size=-1>>wwwmf.mpi-stuttgart.mpg.de/abteilungen/dosch/dosch.html</font>
<br><font size=-1>>---------------------------------------------------------------</font>
<br><font size=-1>>--------------</font>
<br><font size=-1>>Max-Planck-Institut für Metallforschung
| Technische</font>
<br><font size=-1>>Universität München</font>
<br><font size=-1>>Heisenbergstr. 1
| ZBE Neue</font>
<br><font size=-1>>Forschungs-Neutronenquelle</font>
<br><font size=-1>>
| Instrumentierung</font>
<br><font size=-1>>D-70569 Stuttgart
| D-85747 Garching/München</font>
<br><font size=-1>>Tel.: (+49)-711-689-1900
| Tel.: (+49)-89-289-14681</font>
<br><font size=-1>>Fax.: (+49)-711-689-1902
| Fax.: (+49)-89-289-14666</font>
<br><font size=-1>></font></blockquote>
<pre>--
What's up Doc ?
--------------------------------------------
Emmanuel FARHI, <A HREF="http://www.ill.fr/tas/people/Farhi.html">http://www.ill.fr/tas/people/Farhi.html</A> \|/ ____ \|/
CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/</pre>
</html>