Sfoglia il codice sorgente

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

bodesheim 11 anni fa
parent
commit
ffa1922593
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
     if ( newValue > 1e-20 )
-      insert ( std::pair<I, V> ( i, newValue ) );
+      this->insert ( std::pair<I, V> ( i, newValue ) );
     //update our dimensions
     if ( i > dim ) //changed on 10-02-2012 by alex
       dim = i;