mirror of
https://github.com/boostorg/graph.git
synced 2026-01-27 06:52:11 +00:00
Merged more changes (bug fixes, especially hopefully fixing the VC++ test failure) from trunk
[SVN r79390]
This commit is contained in:
@@ -139,7 +139,7 @@ public:
|
||||
euclidean_heuristic(vertex_descriptor goal):m_goal(goal) {};
|
||||
|
||||
double operator()(vertex_descriptor v) {
|
||||
return sqrt(pow(m_goal[0] - v[0], 2) + pow(m_goal[1] - v[1], 2));
|
||||
return sqrt(pow(double(m_goal[0] - v[0]), 2) + pow(double(m_goal[1] - v[1]), 2));
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user