]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Elide default initialization. 296/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 11 Dec 2014 17:12:40 +0000 (11:12 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 11 Dec 2014 17:12:40 +0000 (11:12 -0600)
Apparently, the initialization of a std::shared_ptr with NULL is not
allowed with the Intel compiler. It is also not necessary (that's what
the default constructor does anyway), so just remove the line.

source/lac/slepc_solver.cc

index 4539d5a6adf12028ed66d95ec870b6031923aa31..a892fd7a8f7fd73ee7b98361df5df02416678fb2 100644 (file)
@@ -49,7 +49,6 @@ namespace SLEPcWrappers
     :
     solver_control (cn),
     mpi_communicator (mpi_communicator),
-    target_eigenvalue (NULL),
     set_which (EPS_LARGEST_MAGNITUDE),
     set_problem (EPS_GNHEP),
     opA (NULL),

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.