Skip to content

Commit c1ff59c

Browse files
committed
Removed useless commentaries and prints
1 parent 2632c64 commit c1ff59c

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

include/nanoeigenpy/geometry/quaternion.hpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,6 @@ struct QuaternionVisitor : nb::def_visitor<QuaternionVisitor<Quaternion>> {
7171
.def_prop_rw("w", &QuaternionVisitor::getCoeff<3>,
7272
&QuaternionVisitor::setCoeff<3>, "The w coefficient.")
7373

74-
// isApprox
75-
// .def(
76-
// "isApprox",
77-
// [this](const Quaternion &self, const Quaternion &other,
78-
// const Scalar &prec =
79-
// Eigen::NumTraits<Scalar>::dummy_precision()) -> bool { return
80-
// QuaternionVisitor::isApprox(self, other, prec); }, "other"_a,
81-
// "prec"_a, "Returns true if *this is approximately equal to
82-
// other, " "within the precision determined by prec.")
83-
// .def(
84-
// "isApprox",
85-
// &Quaternion::isApprox, "other"_a, "prec"_a,
86-
// "Returns true if *this is approximately equal to other, "
87-
// "within the precision determined by prec.")
88-
8974
.def(
9075
"isApprox",
9176
[](const Quaternion& self, const Quaternion& other) -> bool {

tests/test_self_adjoint_eigen_solver.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,13 @@
77

88
A = rng.random((dim, dim))
99
A = (A + A.T) * 0.5
10-
# ind = np.arange(dim) + np.ones(dim)
11-
# A = np.diag(ind)
12-
print("A :")
13-
print(A)
1410

1511
es = nanoeigenpy.SelfAdjointEigenSolver(A)
1612

1713
assert es.info() == nanoeigenpy.ComputationInfo.Success
1814

1915
V = es.eigenvectors()
20-
print("V")
21-
print(V)
2216
D = es.eigenvalues()
23-
print("D")
24-
print(D)
2517

2618
AdotV = A @ V
2719
VdotD = V @ np.diag(D)

0 commit comments

Comments
 (0)