summaryrefslogtreecommitdiff
path: root/macros/Sources
diff options
context:
space:
mode:
authorSunil Shetye2018-07-10 21:37:07 +0530
committerSunil Shetye2018-07-11 15:21:08 +0530
commitdc097af448d4ed55d685c5e87c8cffb70b7fb20a (patch)
tree48e1260c714a1c1c773f672a0036bdecb63c8776 /macros/Sources
parent8fedaa7a9bf85fe97abe42fe08c1c9b11b3d331f (diff)
downloadsci2js-dc097af448d4ed55d685c5e87c8cffb70b7fb20a.tar.gz
sci2js-dc097af448d4ed55d685c5e87c8cffb70b7fb20a.tar.bz2
sci2js-dc097af448d4ed55d685c5e87c8cffb70b7fb20a.zip
code to support vectors and matrices with index
Diffstat (limited to 'macros/Sources')
-rw-r--r--macros/Sources/CURVE_c.sci3
1 files changed, 1 insertions, 2 deletions
diff --git a/macros/Sources/CURVE_c.sci b/macros/Sources/CURVE_c.sci
index d5c87f61..451fe8bd 100644
--- a/macros/Sources/CURVE_c.sci
+++ b/macros/Sources/CURVE_c.sci
@@ -904,8 +904,7 @@ function [tok,xyo]=ReadExcel()
if x2p==[] then,
xinfo("Bad address in X:"+x2);
break, end
- x21=par
- t(x2,1:x2p-1);
+ x21=part(x2,1:x2p-1);
x22=part(x2,x2p:length(x2));
y1p=min(strindex(y1,TN));