Boost logo

Ublas :

Subject: [ublas] [bindings] Complex-type pointer-conversion error
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-01-16 11:01:49


Anyone seen this error already? Thanks, Rutger

$ make larz
Building CXX object
compile_test/computational/CMakeFiles/larz.dir/larz.cpp.o
In file included
from /home/rutger/development/bindings/compile_test/computational/larz.cpp:15:
/home/rutger/development/bindings/./boost/numeric/bindings/lapack/computational/larz.hpp:
In function ‘void boost::numeric::bindings::lapack::detail::larz(char,
integer_t, integer_t, integer_t,
boost::numeric::bindings::traits::complex_f*, integer_t,
boost::numeric::bindings::traits::complex_f,
boost::numeric::bindings::traits::complex_f*, integer_t,
boost::numeric::bindings::traits::complex_f*)’:
/home/rutger/development/bindings/./boost/numeric/bindings/lapack/computational/larz.hpp:51:
error: cannot convert ‘const boost::numeric::bindings::traits::complex_f*’
to ‘const float __complex__*’ for argument ‘7’ to ‘void clarz_(const char*,
const integer_t*, const integer_t*, const integer_t*, const float
__complex__*, const integer_t*, const float __complex__*, float
__complex__*, const integer_t*, float __complex__*)’
/home/rutger/development/bindings/./boost/numeric/bindings/lapack/computational/larz.hpp:
In function ‘void boost::numeric::bindings::lapack::detail::larz(char,
integer_t, integer_t, integer_t,
boost::numeric::bindings::traits::complex_d*, integer_t,
boost::numeric::bindings::traits::complex_d,
boost::numeric::bindings::traits::complex_d*, integer_t,
boost::numeric::bindings::traits::complex_d*)’:
/home/rutger/development/bindings/./boost/numeric/bindings/lapack/computational/larz.hpp:58:
error: cannot convert ‘const boost::numeric::bindings::traits::complex_d*’
to ‘const double __complex__*’ for argument ‘7’ to ‘void zlarz_(const
char*, const integer_t*, const integer_t*, const integer_t*, const double
__complex__*, const integer_t*, const double __complex__*, double
__complex__*, const integer_t*, double __complex__*)’
make[3]: *** [compile_test/computational/CMakeFiles/larz.dir/larz.cpp.o]
Error 1
make[2]: *** [compile_test/computational/CMakeFiles/larz.dir/all] Error 2
make[1]: *** [compile_test/computational/CMakeFiles/larz.dir/rule] Error 2
make: *** [compile_test/computational/CMakeFiles/larz.dir/rule] Error 2