ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/SquareMatrix.hpp
(Generate patch)

Comparing branches/development/src/math/SquareMatrix.hpp (file contents):
Revision 1873 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 371 | Line 371 | namespace OpenMD {
371      //// this is NEVER called
372      if ( i >= VTK_MAX_ROTATIONS ) {
373        std::cout << "vtkMath::Jacobi: Error extracting eigenfunctions" << std::endl;
374 +      if (n > 4) {
375 +        delete[] b;
376 +        delete[] z;
377 +      }      
378        return 0;
379      }
380  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines