Skip to content
Snippets Groups Projects
Commit 309378ad authored by Christian Engwer's avatar Christian Engwer
Browse files

Mat needs the ctype, otherwise we can't switch to something other than double

[[Imported from SVN: r1010]]
parent 3d1d80bf
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ namespace Dune {
}
template<int dim, int dimworld, class ct,template<int,int> class ElementImp>
inline Mat<dim,dim>& Element<dim,dimworld,ct,ElementImp>::Jacobian_inverse (const FieldVector<ct, dim>& local)
inline Mat<dim,dim,ct>& Element<dim,dimworld,ct,ElementImp>::Jacobian_inverse (const FieldVector<ct, dim>& local)
{
return asImp().Jacobian_inverse(local);
}
......
......@@ -333,7 +333,7 @@ namespace Dune {
ct integration_element (const FieldVector<ct, dim>& local);
//! can only be called for dim=dimworld!
Mat<dim,dim>& Jacobian_inverse (const FieldVector<ct, dim>& local);
Mat<dim,dim,ct>& Jacobian_inverse (const FieldVector<ct, dim>& local);
/*! \internal
Checking presence and format of all interface functions. With
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment