diff --git a/OndselSolver/FullColumn.cpp b/OndselSolver/FullColumn.cpp index 479a66f..b173b08 100644 --- a/OndselSolver/FullColumn.cpp +++ b/OndselSolver/FullColumn.cpp @@ -47,6 +47,8 @@ namespace MbD { FColsptr FullColumn::times(T a) { assert(false); + auto answer = std::make_shared>(); + return answer; } template FColsptr FullColumn::negated() diff --git a/OndselSolver/FullMatrix.cpp b/OndselSolver/FullMatrix.cpp index 1a12d03..7296c7f 100644 --- a/OndselSolver/FullMatrix.cpp +++ b/OndselSolver/FullMatrix.cpp @@ -334,17 +334,15 @@ namespace MbD { } std::shared_ptr FullMatrixFullMatrixDouble::times(double a) { + // TODO: correct action? assert(false); + return std::make_shared(); } std::shared_ptr FullMatrixFullColumnDouble::times(double a) { -// int m = this->nrow(); -// auto answer = std::make_shared(m); -// for (int i = 0; i < m; i++) { -// answer->at(i) = this->at(i)->times(a); -// } -// return answer; + // TODO: correct action? assert(false); + return std::make_shared(); } std::shared_ptr FullMatrixDouble::transposeTimesFullMatrix(std::shared_ptr fullMat) {