|
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