Boost logo

Boost :

From: John Gerschwitz (johng_at_[hidden])
Date: 2004-02-10 20:06:08


It would appear numeric.cpp has some () missing. This means calls to
functions such as nelements fail. The text "isaligned" replaced with
"iscontiguous" in iscontiguous call.
John Gerschwitz


*** numeric.cpp.orig 2004-02-11 10:57:50.000000000 +1000
--- numeric.cpp 2004-02-11 11:00:33.000000000 +1000
***************
*** 226,247 ****
    
    bool array_base::isaligned() const
    {
! return extract<bool>(attr("isaligned"));
    }
    
    bool array_base::iscontiguous() const
    {
! return extract<bool>(attr("isaligned"));
    }
    
    long array_base::itemsize() const
    {
! return extract<long>(attr("itemsize"));
    }
    
    long array_base::nelements() const
    {
! return extract<long>(attr("nelements"));
    }
    
    object array_base::nonzero() const
--- 226,247 ----
    
    bool array_base::isaligned() const
    {
! return extract<bool>(attr("isaligned")());
    }
    
    bool array_base::iscontiguous() const
    {
! return extract<bool>(attr("iscontiguous")());
    }
    
    long array_base::itemsize() const
    {
! return extract<long>(attr("itemsize")());
    }
    
    long array_base::nelements() const
    {
! return extract<long>(attr("nelements")());
    }
    
    object array_base::nonzero() const


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk