From 38eb5ecee4b58166cd7b39d1602eeb9d83c33f71 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Fri, 6 Oct 2017 21:18:44 -0700 Subject: [PATCH] export bfgs fmin --- web/app/math/optim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/math/optim.js b/web/app/math/optim.js index 8790327a..19eea365 100644 --- a/web/app/math/optim.js +++ b/web/app/math/optim.js @@ -2,7 +2,7 @@ import numeric from 'numeric'; import {_vec, _matrix} from './math' //Added strong wolfe condition to numeric's uncmin -var bfgs_ = function(f,x0,tol,gradient,maxit,callback,options) { +export function fmin_bfgs(f,x0,tol,gradient,maxit,callback,options) { var grad = numeric.gradient; if(typeof options === "undefined") { options = {}; } if(typeof tol === "undefined") { tol = 1e-8; }