Skip to content

Commit

Permalink
[DLG] Changed the order of template arguments in grid_vectors2points_…
Browse files Browse the repository at this point in the history
…flat
  • Loading branch information
diegolodares committed Mar 10, 2024
1 parent 718d35c commit e8adcdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lion/foundation/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ template<typename T,
constexpr std::pair<Array2Type, bool> sin_cos_solve(T lhs_s, T lhs_c, T rhs,
T tolzero = 1e3 * std::numeric_limits<T>::epsilon());

template<typename ContainerOfGridVectorsType,
typename ScalarType = scalar>
template<typename ScalarType = scalar,
typename ContainerOfGridVectorsType>
std::vector<ScalarType> grid_vectors2points_flat(const ContainerOfGridVectorsType &grid_vectors);

template<typename Container, typename ValueType = typename Container::value_type>
Expand Down
4 changes: 2 additions & 2 deletions lion/foundation/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ constexpr std::pair<Array2Type, bool> sin_cos_solve(T lhs_s, T lhs_c, T rhs,
}


template<typename ContainerOfGridVectorsType,
typename ScalarType>
template<typename ScalarType,
typename ContainerOfGridVectorsType>
std::vector<ScalarType> grid_vectors2points_flat(const ContainerOfGridVectorsType &grid_vectors)
{
//
Expand Down

0 comments on commit e8adcdf

Please sign in to comment.