summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/leastsquares.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/leastsquares.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/leastsquares.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf/doc/asymptote/examples/leastsquares.asy b/Master/texmf/doc/asymptote/examples/leastsquares.asy
index c2f3e027aae..cb2b8f3a42b 100644
--- a/Master/texmf/doc/asymptote/examples/leastsquares.asy
+++ b/Master/texmf/doc/asymptote/examples/leastsquares.asy
@@ -3,9 +3,9 @@ size(400,200,IgnoreAspect);
import graph;
import stats;
-file fin=line(input("leastsquares.dat"));
+file fin=input("leastsquares.dat").line();
-real[][] a=dimension(fin,0,0);
+real[][] a=fin.dimension(0,0);
a=transpose(a);
real[] t=a[0], rho=a[1];