qvec.hh: build fix

qvec3f is defined lower in the file
This commit is contained in:
Eric Wasylishen 2021-10-11 12:19:39 -06:00
parent 41d125c32e
commit feb57abbe2
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ template<typename Iter, typename T = typename std::iterator_traits<Iter>::value_
size_t num_points = end - begin;
if (!num_points)
return qvec3f(std::numeric_limits<value_type>::quiet_NaN());
return qvec<value_type, 3>(std::numeric_limits<value_type>::quiet_NaN());
else if (num_points == 1)
return *begin;
else if (num_points == 2)