Skip to content

Something seems wrong with the type cast in vawt.cpp and hawt.cpp #1

@Daniel-UCAS

Description

@Daniel-UCAS

The issue appears as
/home/***/software/vortexje/examples/vawt/vawt.cpp: In function ‘int main(int, char**)’: /home/***/software/vortexje/examples/vawt/vawt.cpp:226: error: call of overloaded ‘moment(std::shared_ptr<VAWT>&, Eigen::Vector3d&)’ is ambiguous /home/***/software/vortexje/./vortexje/solver.hpp:112: note: candidates are: Eigen::Vector3d Vortexje::Solver::moment(const std::shared_ptr<Vortexje::Body>&, const Eigen::Vector3d&) const /home/***/software/vortexje/./vortexje/solver.hpp:113: note: Eigen::Vector3d Vortexje::Solver::moment(const std::shared_ptr<Vortexje::Surface>&, const Eigen::Vector3d&) const make[2]: *** [examples/vawt/CMakeFiles/vawt.dir/vawt.cpp.o] Error 1 make[1]: *** [examples/vawt/CMakeFiles/vawt.dir/all] Error 2
Please refer to
http://www.discretizer.se/?p=151

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions