diff options
author | Sunil Shetye | 2018-08-27 14:38:26 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 8e6c876e5582928ab6909cf0f3529a97f622520d (patch) | |
tree | 3ce13a7e3552486771d147aec6973ff45a6024a5 /js/MatrixOp/MATCATH.js | |
parent | 5cffbe3aa309e242255b96fe954688c6f1380811 (diff) | |
download | sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2 sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip |
ignore first and last variable by index, not value
Diffstat (limited to 'js/MatrixOp/MATCATH.js')
-rw-r--r-- | js/MatrixOp/MATCATH.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index 55a27301..3507a94e 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -42,11 +42,10 @@ function MATCATH() { while (true) { var ok = true; this.nin = arguments[0]["nin"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; var in1 = [-1*(ones(this.nin,1)),-(transpose([2:this.nin+1]))]; var out = [-1,0]; var it = -1*(ones(this.nin,1)); |