projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Xcos MVC: Fixed default datatype
[scilab.git]
/
scilab
/
modules
/
scicos
/
src
/
cpp
/
model
/
Port.hxx
diff --git
a/scilab/modules/scicos/src/cpp/model/Port.hxx
b/scilab/modules/scicos/src/cpp/model/Port.hxx
index
ddbe5ce
..
59c71f2
100644
(file)
--- a/
scilab/modules/scicos/src/cpp/model/Port.hxx
+++ b/
scilab/modules/scicos/src/cpp/model/Port.hxx
@@
-60,7
+60,9
@@
private:
{
if (dataType == 0)
{
+ // By default, size is set to [-1,1] and type to real (1)
v.resize(3, 1);
+ v[0] = -1;
}
else
{