diff --git a/license.txt b/license.txt
index 548610bf66400d8a325f1c9e5e594f171075c3d2..6c1b2e45af0a1cb8c364fcc9cf1e0bd2c4f34750 100644
--- a/license.txt
+++ b/license.txt
@@ -39,7 +39,7 @@ License: public-domain
  Journal of Economic Dynamics and Control, 2010, vol. 34, issue 3,
  pages 472-489
 
-Files: matlab/bfgsi.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
+Files: matlab/bfgsi1.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
  matlab/numgrad3.m matlab/numgrad5.m matlab/csminwel.m matlab/bvar_density.m
  matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m
  matlab/qzdiv.m
diff --git a/matlab/bfgsi.m b/matlab/bfgsi1.m
similarity index 96%
rename from matlab/bfgsi.m
rename to matlab/bfgsi1.m
index 97381a4bf9bad2250ac4b4dab169049071f3fd4f..48d58562daf11bbad5d65cf6fa3a424df879f789 100644
--- a/matlab/bfgsi.m
+++ b/matlab/bfgsi1.m
@@ -1,5 +1,5 @@
-function H = bfgsi(H0,dg,dx)
-% H = bfgsi(H0,dg,dx)
+function H = bfgsi1(H0,dg,dx)
+% H = bfgsi1(H0,dg,dx)
 % dg is previous change in gradient; dx is previous change in x;
 % 6/8/93 version that updates inverse hessian instead of hessian
 % itself.
diff --git a/matlab/csminwel1.m b/matlab/csminwel1.m
index 2cdf7d56ed1414e1722c706f9682d0e21b2b1330..157ba097d7faa535878e33628cda22538217a692 100644
--- a/matlab/csminwel1.m
+++ b/matlab/csminwel1.m
@@ -273,7 +273,7 @@ while ~done
     %badgh
     stuck = (abs(fh-f) < crit);
     if (~badg) && (~badgh) && (~stuck)
-        H = bfgsi(H,gh-g,xh-x);
+        H = bfgsi1(H,gh-g,xh-x);
     end
     if Verbose
         disp('----')