Browse Source

SparseVectorT.tcc: this->insert instead of insert due to compiler error

bodesheim 11 years ago
parent
commit
ffa1922593
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/vector/SparseVectorT.tcc

+ 1 - 1
core/vector/SparseVectorT.tcc

@@ -443,7 +443,7 @@ bool SparseVectorT<I,V>::set ( I i , V newValue )
   {
   {
     // behavior change (2/2/2012 by erik)
     // behavior change (2/2/2012 by erik)
     if ( newValue > 1e-20 )
     if ( newValue > 1e-20 )
-      insert ( std::pair<I, V> ( i, newValue ) );
+      this->insert ( std::pair<I, V> ( i, newValue ) );
     //update our dimensions
     //update our dimensions
     if ( i > dim ) //changed on 10-02-2012 by alex
     if ( i > dim ) //changed on 10-02-2012 by alex
       dim = i;
       dim = i;