Procházet zdrojové kódy

bug fix missing this (gcc4.7.1)

Johannes Ruehle před 12 roky
rodič
revize
ac59c09f5e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;