]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/gheisha/rotes2.F
Small change to avoid compiler warnings.
[u/mrichter/AliRoot.git] / GEANT321 / gheisha / rotes2.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:59  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.38  by  S.Giani
11 *-- Author :
12       SUBROUTINE ROTES2(C,S,C2,S2,PR,I)
13 C
14 C *** NVE 16-MAR-1988 CERN GENEVA ***
15 C
16 C ORIGIN : H.FESEFELDT (27-OCT-1983)
17 C
18       DIMENSION PR(*)
19       K1 = 5*I - 4
20       K2 = K1 + 1
21       SA = PR(K1)
22       SB = PR(K2)
23       A      = SA*C - SB*S
24       PR(K2) = SA*S + SB*C
25       K2 = K2 + 1
26       B = PR(K2)
27       PR(K1) = A*C2 - B*S2
28       PR(K2) = A*S2 + B*C2
29       RETURN
30       END