Fix get_turn_info

Fix template parameter order in side_calculator call (would fail with
different point types).
This commit is contained in:
Samuel Debione
2014-04-25 12:19:46 +02:00
parent 17faeadaa6
commit c0df65a209

View File

@@ -1019,7 +1019,7 @@ struct get_turn_info
else
{
// Swap p/q
side_calculator<Point1, Point2> swapped_side_calc(qi, qj, qk, pi, pj, pk);
side_calculator<Point2, Point1> swapped_side_calc(qi, qj, qk, pi, pj, pk);
policy::template apply<1>(qi, qj, qk, pi, pj, pk,
tp, result.template get<0>(), result.template get<1>(),
swapped_side_calc);