Commit ec259069 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

LanczosCore, ChebyshevSolver: another memory fix after recent changes

parent d5ebfd17
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -240,7 +240,6 @@ public:
		DenseMatrixType* ptr = lanczosVectors_.data();
		if (!ptr)
			err("LanczosSolver::lanczosVectors() called but no data stored\n");
		lanczosVectors_.needsDelete(false);
		return ptr->swap(V);
	}

+0 −1
Original line number Diff line number Diff line
@@ -274,7 +274,6 @@ public:
		if (!ptr)
			throw RuntimeError("LanczosCore::lanczosVectors() called but no data stored\n");

		lanczosVectors_.needsDelete(false);
		ptr->swap(V);
	}