Skip to content

Commit 87718f9

Browse files
committed
Bug fix from Francois Ostiguy <ostiguy-at-fnal.gov>, more similar ones from Dave.
[SVN r24855]
1 parent 3918395 commit 87718f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/numeric.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,22 +225,22 @@ namespace aux
225225

226226
bool array_base::isaligned() const
227227
{
228-
return extract<bool>(attr("isaligned"));
228+
return extract<bool>(attr("isaligned")());
229229
}
230230

231231
bool array_base::iscontiguous() const
232232
{
233-
return extract<bool>(attr("isaligned"));
233+
return extract<bool>(attr("iscontiguous")());
234234
}
235235

236236
long array_base::itemsize() const
237237
{
238-
return extract<long>(attr("itemsize"));
238+
return extract<long>(attr("itemsize")());
239239
}
240240

241241
long array_base::nelements() const
242242
{
243-
return extract<long>(attr("nelements"));
243+
return extract<long>(attr("nelements")());
244244
}
245245

246246
object array_base::nonzero() const

0 commit comments

Comments
 (0)