Bug 3643 fixed, mtlb_eig is now obsolete
[scilab.git] / scilab / modules / m2sci / macros / sci_files / sci_eig.sci
index b852839..1d8b60a 100644 (file)
@@ -12,7 +12,6 @@ function [tree]=sci_eig(tree)
 // Conversion function for Matlab eig()
 // Input: tree = Matlab funcall tree
 // Ouput: tree = Scilab equivalent for tree
-// Emulation function: mtlb_eig()
 
 // eig(A)
 if rhs==1 then
@@ -21,15 +20,14 @@ if rhs==1 then
   A = convert2double(A)
   tree.rhs=Rhs_tlist(A)
 
+  tree.name="spec"
+  
   // d = eig(A)
   if lhs==1 then
-    tree.name="spec"
     tree.lhs(1).dims=list(A.dims(1),1)
     tree.lhs(1).type=Type(Double,Unknown)
   // [V,D] = eig(A)
   else
-    set_infos(msprintf(gettext("mtlb_eig() called because Scilab and Matlab value do not always match for %s."),tree.lhs(1).name),0)
-    tree.name="mtlb_eig"
     tree.lhs(1).dims=list(A.dims(1),A.dims(1))
     tree.lhs(1).type=Type(Double,Unknown)
     tree.lhs(2).dims=list(A.dims(1),A.dims(1))