Fixed ticket #149, misleading call to row_size in the code

This commit is contained in:
Christophe Riccio 2011-11-22 16:24:02 +00:00
parent d26c9df71d
commit 66408cfc4b
13 changed files with 26 additions and 26 deletions

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -50,7 +50,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -60,7 +60,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }