No, but including it removes the compilation errors, thanks! 
How do I know for the future which includes I should use?

Am Donnerstag, 26. Oktober 2017 17:03:40 UTC+2 schrieb Wolfgang Bangerth:
>
> On 10/26/2017 07:27 AM, Wolfgang Bangerth wrote: 
> > 
> > This looks reasonable. The code does not compile because of this error: 
> > 
> > /opt/dealII/include/deal.II/base/template_constraints.h:388:40: error: 
> > no match for 'operator*' (operand types are 'Sacado::Fad::DFad<double>' 
> > and 'dealii::Tensor<1, 2, double>') 
> >       typedef decltype(std::declval<T>() * std::declval<U>()) type; 
> >                        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 
>
> By the way, did you try to include 
>    #include <deal.II/differentiation/ad/sacado_product_types.h> 
> at the top of your code? 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to