Subversion Repositories gelsvn

Rev

Rev 24 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24 Rev 32
Line 90... Line 90...
90
 
90
 
91
			float err;
91
			float err;
92
			Vec3f opt_pos(0);
92
			Vec3f opt_pos(0);
93
 
93
 
94
			//cout << q.determinant() << endl;
94
			//cout << q.determinant() << endl;
95
			if (q.determinant()>= 1e-16)
95
			if (q.determinant()>= 1e-8)
96
				{
96
				{
97
					opt_pos = q.opt_pos(0.0001);
97
					opt_pos = q.opt_pos(0.001);
98
					err = q.error(opt_pos);
98
					err = q.error(opt_pos);
99
				}
99
				}
100
			else
100
			else
101
				{
101
				{
102
					// To see the effectivenes of the scheme, we can create 
102
					// To see the effectivenes of the scheme, we can create