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

OpenAD trac at mcs.anl.gov
Fri Dec 17 15:36:16 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:            
------------------------------+---------------------------------------------
Description changed by utke:

Old description:

> 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

New description:

 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: <https://trac.mcs.anl.gov/projects/openAD/ticket/267#comment:1>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list