fix typo
This commit is contained in:
@@ -33,7 +33,7 @@ bool Vect::operator==(const Vect& other) const {
|
|||||||
if (GetDimension() != other.GetDimension() || GetCardinal() != other.GetCardinal())
|
if (GetDimension() != other.GetDimension() || GetCardinal() != other.GetCardinal())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// on vérifie si chaque vecteur de la deuxième base appartient à la première base
|
// on vérifie si chaque vecteur de la deuxième base appartient à l'espace vectoriel engendré par la première base
|
||||||
for (std::size_t i = 0; i < GetCardinal(); i++) {
|
for (std::size_t i = 0; i < GetCardinal(); i++) {
|
||||||
Vect base = *this;
|
Vect base = *this;
|
||||||
base.AddVector(other.m_Data.SubMatrix(0, i, GetDimension(), 1));
|
base.AddVector(other.m_Data.SubMatrix(0, i, GetDimension(), 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user