Skip to content

Commit 98ae907

Browse files
authored
[ComponentChange] GenericConstraintSolver: fix misleading message (#5738)
fix typos
1 parent b3e42f1 commit 98ae907

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sofa/framework/Helper/src/sofa/helper/ComponentChange.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,11 +625,11 @@ std::map<std::string, ComponentChange, std::less<> > uncreatableComponents = {
625625
// REMOVED SINCE v25.12
626626

627627
{ "GenericConstraintSolver",
628-
ComponentChange().withCustomMessage("GenericConstraintSolver has been replaced since v25.12 by new objects, which names relate to the method used:\n"
629-
" - ProjectedGaussSeidel (if you where using this component without setting 'resolutionMethod' or by setting it to 'ProjectedGaussSeidel')\n"
630-
" - UnbuiltGaussSeidel (if you where using this component without setting 'resolutionMethod=\"UnbuiltGaussSeidel\"')\n"
631-
" - NNCG (if you where using this component without setting 'resolutionMethod=\"NonsmoothNonlinearConjugateGradient\"')\n"
632-
" --> For NNCG, data 'newtonIterations' has been replaced by 'maxIterations'"
628+
ComponentChange().withCustomMessage("GenericConstraintSolver has been replaced since v25.12 by a set of new components, whose names relate to the method used:\n"
629+
" - ProjectedGaussSeidelConstraintSolver (if you were using this component without setting 'resolutionMethod' or by setting it to 'ProjectedGaussSeidel')\n"
630+
" - UnbuiltGaussSeidelConstraintSolver (if you were using this component while setting 'resolutionMethod=\"UnbuiltGaussSeidel\"')\n"
631+
" - NNCGConstraintSolver (if you were using this component while setting 'resolutionMethod=\"NonsmoothNonlinearConjugateGradient\"')\n"
632+
" --> For NNCGConstraintSolver, data 'newtonIterations' has been replaced by 'maxIterations'"
633633
)},
634634

635635

0 commit comments

Comments
 (0)