AllowRotation and size_t

This commit is contained in:
Aik-Siong Koh
2024-01-14 21:40:33 -07:00
committed by PaddleStroke
parent fe99ad2593
commit 85557e1fa4
285 changed files with 1854 additions and 1116 deletions

View File

@@ -18,11 +18,11 @@ namespace MbD {
class SingularMatrixError : virtual public std::runtime_error
{
protected:
std::shared_ptr<std::vector<int>> redundantEqnNos;
std::shared_ptr<std::vector<size_t>> redundantEqnNos;
public:
explicit
SingularMatrixError(const std::string& msg, std::shared_ptr<FullColumn<int>> redunEqnNos) :
SingularMatrixError(const std::string& msg, std::shared_ptr<FullColumn<size_t>> redunEqnNos) :
std::runtime_error(msg), redundantEqnNos(redunEqnNos)
{
}
@@ -32,7 +32,7 @@ namespace MbD {
virtual ~SingularMatrixError() noexcept {}
virtual std::shared_ptr<std::vector<int>> getRedundantEqnNos() const noexcept {
virtual std::shared_ptr<std::vector<size_t>> getRedundantEqnNos() const noexcept {
return redundantEqnNos;
}
};