Skip to content
Snippets Groups Projects
Commit ef7b99c7 authored by Markus Blatt's avatar Markus Blatt
Browse files

At least for g++-4.0.1 default template arguments for functions are

not support. As they are by no means needed here due to template
argument deduction, we just remove them.

[[Imported from SVN: r1718]]
parent ad94d2b5
Branches
Tags
No related merge requests found
......@@ -126,7 +126,7 @@ namespace Dune {
* @param y other (compatible) vector
* @return
*/
template<class OtherB, class OtherA=std::allocator<OtherB> >
template<class OtherB, class OtherA>
typename PromotionTraits<field_type,typename OtherB::field_type>::PromotedType operator* (const block_vector_unmanaged<OtherB,OtherA>& y) const
{
typedef typename PromotionTraits<field_type,typename OtherB::field_type>::PromotedType PromotedType;
......@@ -147,7 +147,7 @@ namespace Dune {
* @param y other (compatible) vector
* @return
*/
template<class OtherB, class OtherA=std::allocator<OtherB> >
template<class OtherB, class OtherA>
typename PromotionTraits<field_type,typename OtherB::field_type>::PromotedType dot(const block_vector_unmanaged<OtherB,OtherA>& y) const
{
typedef typename PromotionTraits<field_type,typename OtherB::field_type>::PromotedType PromotedType;
......@@ -879,7 +879,7 @@ namespace Dune {
{
typename V::ConstIterator e=this->end();
for (size_type i=0; i<y.n; i++)
if (find(y.j[i])==e)
if (this->find(y.j[i])==e)
return false;
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment