summaryrefslogtreecommitdiffstats
path: root/scilab/modules/scicos_blocks
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab.org>2010-04-13 17:36:44 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2010-04-14 13:15:57 +0200
commit868d1013ce7fd359e3c9cbd9022ac0ebe671fe69 (patch)
tree5af392e994cb435fa803698b2f4535849d5d4230 /scilab/modules/scicos_blocks
parentf324cff158a18ac0a04b02cc4dc105799a8dd4f4 (diff)
downloadscilab-868d1013ce7fd359e3c9cbd9022ac0ebe671fe69.zip
scilab-868d1013ce7fd359e3c9cbd9022ac0ebe671fe69.tar.gz
Xcos: correct the Capacitor block
The capacitor had wrong labels orders Adding non-reg tests and changelog message Bug: #6699 Change-Id: Ife5f57030240cd266d63a309897cb49222487b9b
Diffstat (limited to 'scilab/modules/scicos_blocks')
-rw-r--r--scilab/modules/scicos_blocks/macros/Electrical/Capacitor.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/scicos_blocks/macros/Electrical/Capacitor.sci b/scilab/modules/scicos_blocks/macros/Electrical/Capacitor.sci
index 86a0704..92d45c4 100644
--- a/scilab/modules/scicos_blocks/macros/Electrical/Capacitor.sci
+++ b/scilab/modules/scicos_blocks/macros/Electrical/Capacitor.sci
@@ -41,7 +41,7 @@ case 'set' then
41 model=arg1.model; 41 model=arg1.model;
42 while %t do 42 while %t do
43 [ok,C,v,exprs]=scicos_getvalue('Set Capacitor block parameter',.. 43 [ok,C,v,exprs]=scicos_getvalue('Set Capacitor block parameter',..
44 ['C (F)','Initial Voltage'],list('vec',1,'vec',1),exprs) 44 ['C (F)';'Initial Voltage'],list('vec',1,'vec',1),exprs)
45 if ~ok then break,end 45 if ~ok then break,end
46 model.rpar=C 46 model.rpar=C
47 model.equations.parameters(2)=list(C,v) 47 model.equations.parameters(2)=list(C,v)