Advertisement
Guest User

Untitled

a guest
May 4th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. mat33 MatA, MatB, MatC;
  2.  
  3. MatA = MatB * MatC;
  4.  
  5. C:...SFunction.cpp:21: error: C2666: 'arma::Mat<eT>::operator =' : 3 overloads have similar conversions
  6. with
  7. [
  8. eT=double
  9. ]
  10. c:...includearmadilloarmadillo_bits/Mat_bones.hpp(724): could be 'const arma::Mat<eT> &arma::Mat<eT>::fixed<fixed_n_rows,fixed_n_cols>::operator =(const arma::Mat<eT>::fixed<fixed_n_rows,fixed_n_cols> &)'
  11. with
  12. [
  13. eT=double,
  14. fixed_n_rows=3,
  15. fixed_n_cols=3
  16. ]
  17. c:...includearmadilloarmadillo_bits/Mat_bones.hpp(82): or 'const arma::Mat<eT> &arma::Mat<eT>::operator =(const arma::Mat<eT> &)'
  18. with
  19. [
  20. eT=double
  21. ]
  22. c:...includearmadilloarmadillo_bits/Mat_meat.hpp(4652): or 'const arma::Mat<eT> &arma::Mat<eT>::operator =<arma::mat33,arma::mat33,arma::glue_times>(const arma::Glue<T1,T2,glue_type> &)'
  23. with
  24. [
  25. eT=double,
  26. T1=arma::mat33,
  27. T2=arma::mat33,
  28. glue_type=arma::glue_times
  29. ]
  30. while trying to match the argument list '(arma::mat33, const arma::Glue<T1,T2,glue_type>)'
  31. with
  32. [
  33. T1=arma::mat33,
  34. T2=arma::mat33,
  35. glue_type=arma::glue_times
  36. ]
  37.  
  38. mat33 MatA, MatB, MatC;
  39.  
  40. MatA = mat33(MatB * MatC);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement