bug in BrMagnetVolume

From: Pawel Staszel (staszel@alf.nbi.dk)
Date: Fri Sep 14 2001 - 07:29:35 EDT

  • Next message: Truls Martin Larsen: "class version numbers"

    Hi All,
    
    I found a bug in BrMagnetVolume::SwimForward() method.
    It affected the y position of the track (line) at the back magnet face.
    
    I committed the corrected file in to the repository.
    The error was in the sign of ydiff and I corrected it
    by replacing
    xe[1] = xc[1] - ydiff;
    with
    xe[1] = xc[1] + ydiff;
    
    Note that SwimBack is (and was) OK.
    
    Regards Pawel.
    
    
    --
     ----------------------------------------------------------------------
    | Pawel Staszel                                                        |
    | Niels Bohr Institute Tb 8    email:      staszel@nbi.dk              |
    | Blegdamsvej 17               phone:      (+45) 35 32 53 51           |
    | København Ø                    FAX:      (+45) 35 32 50 16           |
    | Danmark                                                              |
     ----------------------------------------------------------------------
    



    This archive was generated by hypermail 2b30 : Fri Sep 14 2001 - 07:30:28 EDT