Commit 21e625b8 authored by Cedrick Ansorge's avatar Cedrick Ansorge
Browse files

changed precision parameters for eof

parent 1fd79ec2
......@@ -14,8 +14,8 @@
#define PI_QU 1*atan(1)
#define PI_HA 2*atan(1)
#define PI 4*atan(1)
#define FNORM_PRECISION 1e-06
#define MAX_JACOBI_ITER 20
#define FNORM_PRECISION 1e-05
#define MAX_JACOBI_ITER 5
int jacobi_1side(double **M, double *A, int n);
void annihilate_1side(double **M, int i, int j, int k, int n);
......@@ -276,7 +276,7 @@ void eigen_solution_of_triangular_matrix (double *d, double *e, int n,
{
int i, k, l, m, iter;
double b, c, f, g, p, r, s;
static const double eps = 1e-20;
static const double eps = 1e-6;
for (i = 1; i < n; i++)
e[i - 1] = e[i];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment