Hi

With the following:

   64: template <int rank, int dim>

65: class TensorCoefficient : public TensorFunction<rank, dim>

66: {

67: public:

68: TensorCoefficient () : TensorFunction<rank, dim>() {}

69:

70: virtual Tensor<rank, dim> value (const Point<dim> &p) const;

71: };

I get the following compilation errors:


main.cc:65:51: error: expected template-name before '<' token
main.cc:65:51: error: expected '{' before '<' token
main.cc:65:51: error: expected unqualified-id before '<' token
main.cc:71:2: warning: extra ';'

I'm not certain what the problem is. Is there a typename required somewhere?

-- 
Many thanks,

Ted
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to