[petsc-dev] VecRestoreArrayRead and const
    Jed Brown 
    jed at 59A2.org
       
    Mon Jun 14 11:28:23 CDT 2010
    
    
  
On Mon, 14 Jun 2010 11:21:32 -0500, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>    I added it quickly as a bit of a hack. Eventually it needs a lot of cleaning up.
> 
>    It is not actually readonly so shouldn't be listed as a const; it is not a good name. 
When would it be correct to modify the array without incrementing state?
I must be missing something.
>    Can we worry about it later, not now?
Of course.
Jed
    
    
More information about the petsc-dev
mailing list