FIX class static zero_ should be constructed from /*zero*/()

svn path=/trunk/boost/boost/numeric/ublas/; revision=29981
This commit is contained in:
Michael Stevens 2005-07-11 11:47:55 +00:00
parent b0e27c4eba
commit e4fad92794
5 changed files with 12 additions and 12 deletions

View File

@ -950,7 +950,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, class A>
typename banded_matrix<T, L, A>::const_value_type banded_matrix<T, L, A>::zero_ (0);
typename banded_matrix<T, L, A>::const_value_type banded_matrix<T, L, A>::zero_ /*zero*/();
// Diagonal matrix class
@ -1947,7 +1947,7 @@ namespace boost { namespace numeric { namespace ublas {
template<class M>
typename banded_adaptor<M>::matrix_type banded_adaptor<M>::nil_;
template<class M>
typename banded_adaptor<M>::const_value_type banded_adaptor<M>::zero_ (0);
typename banded_adaptor<M>::const_value_type banded_adaptor<M>::zero_ /*zero*/();
// Diagonal matrix adaptor class
template<class M>

View File

@ -1280,7 +1280,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, class A>
const typename mapped_matrix<T, L, A>::value_type mapped_matrix<T, L, A>::zero_ (0);
const typename mapped_matrix<T, L, A>::value_type mapped_matrix<T, L, A>::zero_ /*zero*/();
// Vector index map based sparse matrix class
@ -2448,7 +2448,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, class A>
const typename mapped_vector_of_mapped_vector<T, L, A>::value_type mapped_vector_of_mapped_vector<T, L, A>::zero_ (0);
const typename mapped_vector_of_mapped_vector<T, L, A>::value_type mapped_vector_of_mapped_vector<T, L, A>::zero_ /*zero*/();
// Comperssed array based sparse matrix class
@ -3790,7 +3790,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, std::size_t IB, class IA, class TA>
const typename compressed_matrix<T, L, IB, IA, TA>::value_type compressed_matrix<T, L, IB, IA, TA>::zero_ (0);
const typename compressed_matrix<T, L, IB, IA, TA>::value_type compressed_matrix<T, L, IB, IA, TA>::zero_ /*zero*/();
// Coordinate array based sparse matrix class
@ -5116,7 +5116,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, std::size_t IB, class IA, class TA>
const typename coordinate_matrix<T, L, IB, IA, TA>::value_type coordinate_matrix<T, L, IB, IA, TA>::zero_ (0);
const typename coordinate_matrix<T, L, IB, IA, TA>::value_type coordinate_matrix<T, L, IB, IA, TA>::zero_ /*zero*/();
}}}

View File

@ -884,7 +884,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class TRI, class L, class A>
const typename triangular_matrix<T, TRI, L, A>::value_type triangular_matrix<T, TRI, L, A>::zero_ (0);
const typename triangular_matrix<T, TRI, L, A>::value_type triangular_matrix<T, TRI, L, A>::zero_ /*zero*/();
template<class T, class TRI, class L, class A>
const typename triangular_matrix<T, TRI, L, A>::value_type triangular_matrix<T, TRI, L, A>::one_ (1);
@ -1756,7 +1756,7 @@ namespace boost { namespace numeric { namespace ublas {
template<class M, class TRI>
typename triangular_adaptor<M, TRI>::matrix_type triangular_adaptor<M, TRI>::nil_;
template<class M, class TRI>
const typename triangular_adaptor<M, TRI>::value_type triangular_adaptor<M, TRI>::zero_ (0);
const typename triangular_adaptor<M, TRI>::value_type triangular_adaptor<M, TRI>::zero_ /*zero*/();
template<class M, class TRI>
const typename triangular_adaptor<M, TRI>::value_type triangular_adaptor<M, TRI>::one_ (1);

View File

@ -1218,7 +1218,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class L, class A>
const typename generalized_vector_of_vector<T, L, A>::value_type generalized_vector_of_vector<T, L, A>::zero_ (0);
const typename generalized_vector_of_vector<T, L, A>::value_type generalized_vector_of_vector<T, L, A>::zero_ /*zero*/();
}}}

View File

@ -720,7 +720,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, class A>
const typename mapped_vector<T, A>::value_type mapped_vector<T, A>::zero_ (0);
const typename mapped_vector<T, A>::value_type mapped_vector<T, A>::zero_ /*zero*/();
// Compressed array based sparse vector class
@ -1293,7 +1293,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, std::size_t IB, class IA, class TA>
const typename compressed_vector<T, IB, IA, TA>::value_type compressed_vector<T, IB, IA, TA>::zero_ (0);
const typename compressed_vector<T, IB, IA, TA>::value_type compressed_vector<T, IB, IA, TA>::zero_ /*zero*/();
// Coordimate array based sparse vector class
@ -1935,7 +1935,7 @@ namespace boost { namespace numeric { namespace ublas {
};
template<class T, std::size_t IB, class IA, class TA>
const typename coordinate_vector<T, IB, IA, TA>::value_type coordinate_vector<T, IB, IA, TA>::zero_ (0);
const typename coordinate_vector<T, IB, IA, TA>::value_type coordinate_vector<T, IB, IA, TA>::zero_ /*zero*/();
}}}