mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Bug fix from Francois Ostiguy <ostiguy-at-fnal.gov>, more similar ones from Dave.
[SVN r24855]
This commit is contained in:
@@ -225,22 +225,22 @@ namespace aux
|
||||
|
||||
bool array_base::isaligned() const
|
||||
{
|
||||
return extract<bool>(attr("isaligned"));
|
||||
return extract<bool>(attr("isaligned")());
|
||||
}
|
||||
|
||||
bool array_base::iscontiguous() const
|
||||
{
|
||||
return extract<bool>(attr("isaligned"));
|
||||
return extract<bool>(attr("iscontiguous")());
|
||||
}
|
||||
|
||||
long array_base::itemsize() const
|
||||
{
|
||||
return extract<long>(attr("itemsize"));
|
||||
return extract<long>(attr("itemsize")());
|
||||
}
|
||||
|
||||
long array_base::nelements() const
|
||||
{
|
||||
return extract<long>(attr("nelements"));
|
||||
return extract<long>(attr("nelements")());
|
||||
}
|
||||
|
||||
object array_base::nonzero() const
|
||||
|
||||
Reference in New Issue
Block a user