summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/filesurface.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/filesurface.asy')
-rw-r--r--Build/source/utils/asymptote/examples/filesurface.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/filesurface.asy b/Build/source/utils/asymptote/examples/filesurface.asy
index 8e59c201f5e..702b503fc28 100644
--- a/Build/source/utils/asymptote/examples/filesurface.asy
+++ b/Build/source/utils/asymptote/examples/filesurface.asy
@@ -3,11 +3,11 @@ import palette;
size3(200,IgnoreAspect);
-file in=line(input("filesurface.dat"));
+file in=input("filesurface.dat").line();
real[] x=in;
real[] y=in;
-real[][] f=dimension(in,0,0);
+real[][] f=in.dimension(0,0);
triple f(pair t) {
int i=round(t.x);