inpcom.c, inp_modify_exp(), bug fix, enforce precedence when numparm substitutions come into play

This commit is contained in:
rlar
2014-11-06 21:16:24 +01:00
parent 30742f30a4
commit 5e76305ffa
3 changed files with 12 additions and 4 deletions
+9 -1
View File
@@ -13,6 +13,14 @@ v1002_aux aux1002 0 DC=3
b1002_t n1002_t 0 V=(-(v(aux1002)))
v1002_g n1002_g 0 -3
.param aux1003=-2
b1003_t n1003_t 0 V='aux1003**2'
v1003_g n1003_g 0 4
b1004_t n1004_t 0 V='-aux1003**2'
v1004_g n1004_g 0 -4
* ----------------------------------------
.control
@@ -24,7 +32,7 @@ op
let total_count = 0
let fail_count = 0
let tests = 1001 + vector(2)
let tests = 1001 + vector(4)
foreach n $&tests
set n_test = "n{$n}_t"
+1 -1
View File
@@ -5,4 +5,4 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
INFO: 0 of 2 tests failed
INFO: 0 of 4 tests failed