Skip to content

Commit

Permalink
Update MatrixTools.cs
Browse files Browse the repository at this point in the history
Issue #492 Make method accept double
  • Loading branch information
towsey committed Jun 6, 2021
1 parent 5229056 commit a90d380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TowseyLibrary/MatrixTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ public static double[] Matrix2Array(double[,] matrix)
/// Multiplies the values in a matrix by a factor.
/// Used to convert log-energy values to decibels.
/// </summary>
public static double[,] MultiplyMatrixByFactor(double[,] matrix, int factor)
public static double[,] MultiplyMatrixByFactor(double[,] matrix, double factor)
{
int rows = matrix.GetLength(0);
int cols = matrix.GetLength(1);
Expand Down

0 comments on commit a90d380

Please sign in to comment.