You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, during the TMR building I get the following error:
tmr/src/topology/TMRTopoProblem.cpp:754:54: error: no matching function for call to ‘TMRTopoProblem::setProblemSizes(int&, int&, int&, int&)’ 754 | setProblemSizes(nvars, num_constraints, nw, nwblock); | ^ In file included from tmr/src/topology/TMRTopoProblem.h:24, from tmr/src/topology/TMRTopoProblem.cpp:21: paropt/src/ParOptProblem.h:112:8: note: candidate: ‘void ParOptProblem::setProblemSizes(int, int, int, int, int)’ 112 | void setProblemSizes( int _nvars, int _ncon, int _ninequality, | ^~~~~~~~~~~~~~~ paropt/src/ParOptProblem.h:112:8: note: candidate expects 5 arguments, 4 provided
I suppose that probably I'm linking a version of ParOpt library too recent (v. 2.0.2). Unfortunately I'm not able to retrive an older version in which ParOptProblem::setProblemSizes() takes only 4 arguments.
Are my supposition correct? What can I do to solve this error?
Thank you
The text was updated successfully, but these errors were encountered:
Hi, during the TMR building I get the following error:
tmr/src/topology/TMRTopoProblem.cpp:754:54: error: no matching function for call to ‘TMRTopoProblem::setProblemSizes(int&, int&, int&, int&)’ 754 | setProblemSizes(nvars, num_constraints, nw, nwblock); | ^ In file included from tmr/src/topology/TMRTopoProblem.h:24, from tmr/src/topology/TMRTopoProblem.cpp:21: paropt/src/ParOptProblem.h:112:8: note: candidate: ‘void ParOptProblem::setProblemSizes(int, int, int, int, int)’ 112 | void setProblemSizes( int _nvars, int _ncon, int _ninequality, | ^~~~~~~~~~~~~~~ paropt/src/ParOptProblem.h:112:8: note: candidate expects 5 arguments, 4 provided
I suppose that probably I'm linking a version of ParOpt library too recent (v. 2.0.2). Unfortunately I'm not able to retrive an older version in which
ParOptProblem::setProblemSizes()
takes only 4 arguments.Are my supposition correct? What can I do to solve this error?
Thank you
The text was updated successfully, but these errors were encountered: