Xcos load: use a valid port type value
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / port / BasicPort.java
index d931dcb..bae49d0 100644 (file)
@@ -88,7 +88,7 @@ public abstract class BasicPort extends XcosCell {
         /**
          * @return A scicos compatible representation
          */
-        public double getAsDouble() {
+        public int asScilabValue() {
             if (this.equals(UNKNOW_TYPE)) {
                 return -1;
             }