On 08/03/2017 05:44 AM, Maxi Miller wrote:
Why is evaluate_diffusion() declared as const? When removing the const-keyword, compilation works fine (running not tested yet).

You mean in the program you copied it from? I don't know -- but in general if something *can* be declared `const`, then it *should* be declared `const`. That just doesn't seem to work in your case any more.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to