Skip to content

Commit 63c54cb

Browse files
committed
Remove some is_final()
1 parent c92e8fe commit 63c54cb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

include/nanoeigenpy/solvers/conjugate-gradient.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ struct ConjugateGradientVisitor
2626
}
2727

2828
static void expose(nb::module_& m, const char* name) {
29-
nb::class_<ConjugateGradient>(
30-
m, name, nb::is_final()) // is_final good to replace bp::noncopyable ?
29+
nb::class_<ConjugateGradient>(m, name)
3130
.def(ConjugateGradientVisitor<ConjugateGradient>())
3231
.def(IdVisitor());
3332
}

include/nanoeigenpy/solvers/least-squares-conjugate-gradient.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ struct LeastSquaresConjugateGradientVisitor
2626
}
2727

2828
static void expose(nb::module_& m, const char* name) {
29-
nb::class_<LeastSquaresConjugateGradient>(
30-
m, name, nb::is_final()) // is_final good to replace bp::noncopyable ?
29+
nb::class_<LeastSquaresConjugateGradient>(m, name)
3130
.def(IterativeSolverVisitor<LeastSquaresConjugateGradient>())
3231
.def(LeastSquaresConjugateGradientVisitor<
3332
LeastSquaresConjugateGradient>())

0 commit comments

Comments
 (0)