[Ad-dev] [openAD] #267: statemenf function rhs replacement needs to be enclosed in ()

OpenAD trac at mcs.anl.gov
Fri Dec 17 15:34:28 CST 2010


#267: statemenf function rhs replacement needs to be enclosed in ()
------------------------------+---------------------------------------------
 Reporter:  utke              |       Owner:  hlcm      
     Type:  defect            |      Status:  new       
 Priority:  major             |   Milestone:  AD for SAS
Component:  SourceProcessing  |    Keywords:            
------------------------------+---------------------------------------------
 see for instance this example ;
 program statementFunc1
   real :: a,b,c
   sf(x)=x+x*2
   a = 1.3
   b = 3.0
   c = sf(a)*b
   write(*,*) c

 end program

 added as : Regression/PrePost/TestSources/statementFunc1.f90

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/openAD/ticket/267>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list