Compilation fails: .size() invoked on arma::rowvec
Compiling dolfin (development), by means of dorsal, leads to the following error:
[ 55%] Building CXX object dolfin/
[ 55%] Building CXX object dolfin/
/home/roberto/
/home/roberto/
make[2]: *** [dolfin/
make[2]: Leaving directory `/home/
make[1]: *** [dolfin/
make[1]: Leaving directory `/home/
make: *** [all] Error 2
make: Leaving directory `/home/
Failure with exit status: 2
Exit message: There was a problem building dolfin.
Looking in http://
one finds at line 599:
// Get measure of size of RHS components
const double b_norm = arma::norm(_b, 1)/_b.size();
But armadillo has no member function size() (http://
I'm not an experienced programmer so maybe some settings were wrong.
System: ubuntu 11.10 oneiric
Thanks,
Roberto
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Roberto Alessi for more information if necessary.