summaryrefslogtreecommitdiff
path: root/hwpfilter/source/solver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/solver.cxx')
-rw-r--r--hwpfilter/source/solver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/solver.cxx b/hwpfilter/source/solver.cxx
index 94a43890144e..334f61c2227f 100644
--- a/hwpfilter/source/solver.cxx
+++ b/hwpfilter/source/solver.cxx
@@ -20,7 +20,7 @@
#include <math.h>
#include "solver.h"
-//---------------------------------------------------------------------------
+
double** mgcLinearSystemD::NewMatrix (int N)
{
double** A = new double*[N];
@@ -42,14 +42,14 @@ double** mgcLinearSystemD::NewMatrix (int N)
}
return A;
}
-//---------------------------------------------------------------------------
+
void mgcLinearSystemD::DeleteMatrix (int N, double** A)
{
for (int row = 0; row < N; row++)
delete[] A[row];
delete[] A;
}
-//---------------------------------------------------------------------------
+
double* mgcLinearSystemD::NewVector (int N)
{
double* B = new double[N];
@@ -60,7 +60,7 @@ double* mgcLinearSystemD::NewVector (int N)
B[row] = 0;
return B;
}
-//---------------------------------------------------------------------------
+
int mgcLinearSystemD::Solve (int n, double** a, double* b)
{
int* indxc = new int[n];