adding bogus returns after assert(false)
This commit is contained in:
@@ -47,6 +47,8 @@ namespace MbD {
|
||||
FColsptr<T> FullColumn<T>::times(T a)
|
||||
{
|
||||
assert(false);
|
||||
auto answer = std::make_shared<FullColumn<T>>();
|
||||
return answer;
|
||||
}
|
||||
template<typename T>
|
||||
FColsptr<T> FullColumn<T>::negated()
|
||||
|
||||
@@ -334,17 +334,15 @@ namespace MbD {
|
||||
}
|
||||
std::shared_ptr<FullMatrixFullMatrixDouble> FullMatrixFullMatrixDouble::times(double a)
|
||||
{
|
||||
// TODO: correct action?
|
||||
assert(false);
|
||||
return std::make_shared<FullMatrixFullMatrixDouble>();
|
||||
}
|
||||
std::shared_ptr<FullMatrixFullColumnDouble> FullMatrixFullColumnDouble::times(double a)
|
||||
{
|
||||
// int m = this->nrow();
|
||||
// auto answer = std::make_shared<FullMatrixFullColumnDouble>(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<FullMatrixFullColumnDouble>();
|
||||
}
|
||||
std::shared_ptr<FullMatrixDouble> FullMatrixDouble::transposeTimesFullMatrix(std::shared_ptr<FullMatrixDouble> fullMat)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user