Open ming4now opened 4 years ago
问题1:
/Sophus/sophus/so2.cpp:32:26: error: lvalue required as left operand of assignment unitcomplex.real() = 1.;
/Sophus/sophus/so2.cpp:33:26: error: lvalue required as left operand of assignment unitcomplex.imag() = 0.;
该错误可以定位到so2.cpp源码文件下: SO2::SO2() { unitcomplex.real() = 1.; unitcomplex.imag() = 0.; }
修改为 SO2::SO2() { //unitcomplex.real() = 1.; //unitcomplex.imag() = 0.; unitcomplex.real(1.); unitcomplex.imag(0.); }
原址:https://blog.csdn.net/haxiongha/article/details/82464148?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1
问题1:
/Sophus/sophus/so2.cpp:32:26: error: lvalue required as left operand of assignment unitcomplex.real() = 1.;
/Sophus/sophus/so2.cpp:33:26: error: lvalue required as left operand of assignment unitcomplex.imag() = 0.;
该错误可以定位到so2.cpp源码文件下: SO2::SO2() { unitcomplex.real() = 1.; unitcomplex.imag() = 0.; }
修改为 SO2::SO2() { //unitcomplex.real() = 1.; //unitcomplex.imag() = 0.; unitcomplex.real(1.); unitcomplex.imag(0.); }
原址:https://blog.csdn.net/haxiongha/article/details/82464148?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1