Commit 62089f7f authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed catching of std::bad_alloc in SpMV benchmark.

parent 8254fd03
Loading
Loading
Loading
Loading
+40 −40
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ benchmarkSpMV( Benchmark& benchmark,
             return false;
         }
      }
      catch( std::bad_alloc e )
      catch( std::bad_alloc& e )
      {
          e.what();
          return false;
@@ -136,7 +136,7 @@ benchmarkSpMV( Benchmark& benchmark,
             return false;
         }
      }
      catch( std::bad_alloc e )
      catch( std::bad_alloc& e )
      {
          e.what();
          return false;