~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/Maths/HermitianMatrix.cc

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include "gsl/gsl_eigen.h"
25
25
 
26
 
#include "Interface/Squeal.hh"
 
26
#include "Utils/Exception.hh"
27
27
#include "Maths/Matrix.hh"
28
28
#include "Maths/SymmetricMatrix.hh"
29
29
#include "Maths/Vector.hh"
63
63
  gsl_eigen_herm_free(workspace);
64
64
  if (ierr != 0) {
65
65
    gsl_vector_free(eigenvalues);
66
 
    throw(Squeal(Squeal::recoverable,
 
66
    throw(Exception(Exception::recoverable,
67
67
                 "Failed to calculate eigenvalue",
68
68
                 "MAUS::eigenvalues"));
69
69
  }
86
86
  if (ierr != 0) {
87
87
    gsl_vector_free(eigenvalues);
88
88
    gsl_matrix_complex_free(eigenvectors);
89
 
    throw(Squeal(Squeal::recoverable,
 
89
    throw(Exception(Exception::recoverable,
90
90
                 "Failed to calculate eigenvalue",
91
91
                 "MAUS::eigenvectors"));
92
92
  }