mirror of https://github.com/CGAL/cgal
Add debug output
This commit is contained in:
parent
425b25dc65
commit
54c5f254ff
|
|
@ -42,6 +42,7 @@ public:
|
||||||
bool linear_solver(const Matrix& A, const Vector& B, Vector& X, NT& D)
|
bool linear_solver(const Matrix& A, const Vector& B, Vector& X, NT& D)
|
||||||
{
|
{
|
||||||
A.assemble_matrix();
|
A.assemble_matrix();
|
||||||
|
std::cout << " A.solve()" << std::endl;
|
||||||
A.solve(B, X);
|
A.solve(B, X);
|
||||||
X.copy_back();
|
X.copy_back();
|
||||||
D = 1; // Accelerate does not support homogeneous coordinates
|
D = 1; // Accelerate does not support homogeneous coordinates
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,8 @@ public:
|
||||||
|
|
||||||
if(status != OK)
|
if(status != OK)
|
||||||
return status;
|
return status;
|
||||||
|
std::cout << "Xu: " << Xu[120] << std::endl;
|
||||||
|
std::cout << "Xv: " << Xv[120] << std::endl;
|
||||||
// WARNING: this package does not support homogeneous coordinates!
|
// WARNING: this package does not support homogeneous coordinates!
|
||||||
CGAL_assertion(Du == 1.0);
|
CGAL_assertion(Du == 1.0);
|
||||||
CGAL_assertion(Dv == 1.0);
|
CGAL_assertion(Dv == 1.0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue