Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-08-20 05:52:56


Am Samstag, 20. August 2005 04:35 schrieb Sashan Govender:
> Hi
>
> I've recently upgraded to boost 1.33. The following code results in:
>
> m_Mass = bnu::zero_matrix<double>(m_Mass.size1(), m_Mass.size2());
>
> where m_Mass is of type bnu::matrix<double> results in the following
> compiler error:
>
> 'size1' : is not a member of
> 'boost::numeric::ublas::matrix_container<C>'

This should be fixed via
#define BOOST_UBLAS_ENABLE_PROXY_SHORTCUTS
before all ublas headers.

Shouldn't we set this define by default?

mfg
Gunter