mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-10-06 08:28:04 +01:00
minor portability fixes
This commit is contained in:
1 parent
d5b743b985
commit
8a229ec0b0
2 files changed
+4
-4
No files matched your search
@@ -7,8 +7,8 @@ using namespace Latan;
|
||||
int main(void)
|
||||
{
|
||||
constexpr double a = 1., b = 10.;
|
||||
DoubleFunction f1([a](const double *x){return a*(1.-x[0]);}, 2);
|
||||
DoubleFunction f2([b](const double *x){return b*(x[1]-x[0]*x[0]);}, 2);
|
||||
DoubleFunction f1([](const double *x){return a*(1.-x[0]);}, 2);
|
||||
DoubleFunction f2([](const double *x){return b*(x[1]-x[0]*x[0]);}, 2);
|
||||
vector<DoubleFunction *> system = {&f1, &f2};
|
||||
GslHybridRootFinder solve;
|
||||
DVec init(2), x;
|
||||
|
||||
Reference in new issue
Block a user