Skip to content

Commit

Permalink
fix incorrectly propagated template parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Dec 11, 2019
1 parent f783634 commit f253579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/utils/matrix_generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ std::unique_ptr<MatrixType> generate_random_lower_triangular_matrix(
Engine &&engine, std::shared_ptr<const Executor> exec,
MatrixArgs &&... args)
{
return generate_random_triangular_matrix(
return generate_random_triangular_matrix<MatrixType>(
num_rows, num_cols, ones_on_diagonal, true, nonzero_dist, value_dist,
engine, std::move(exec), std::forward<MatrixArgs>(args)...);
}
Expand Down Expand Up @@ -334,7 +334,7 @@ std::unique_ptr<MatrixType> generate_random_upper_triangular_matrix(
Engine &&engine, std::shared_ptr<const Executor> exec,
MatrixArgs &&... args)
{
return generate_random_triangular_matrix(
return generate_random_triangular_matrix<MatrixType>(
num_rows, num_cols, ones_on_diagonal, false, nonzero_dist, value_dist,
engine, std::move(exec), std::forward<MatrixArgs>(args)...);
}
Expand Down

0 comments on commit f253579

Please sign in to comment.