mlandistest / code

2 stars 0 forks source link

cannot instantiate vectors-of-vectors in Rev [sf#11] #11

Open mlandis opened 10 years ago

mlandis commented 10 years ago

Reported by michaellandis on 2014-07-01 22:35 UTC

RevBayes > ## Here, I wanted a vector-of-vectors for use as a matrix. Example below.
RevBayes > x<-v(1)
RevBayes > y<-v(x)
   Error:   No overloaded function 'v' matches for arguments ( Vector<Natural> )
   Potentially matching functions are:
   VectorRbPointer<Monitor> function (Monitor , Monitor ...)
   VectorRbPointer<Move> function (Move , Move ...)
   VectorRbPointer<AbstractCharacterData> function (AbstractCharacterData ,
   AbstractCharacterData ...)
   Vector<Natural> function (Natural , Natural ...)
   Vector<Integer> function (Integer , Integer ...)
   Vector<Real> function (Real , Real ...)
   Vector<RealPos> function (RealPos , RealPos ...)
   Vector<Bool> function (Bool , Bool ...)
   Vector<Clade> function (Clade , Clade ...)
   Vector<String> function (String , String ...)
   Vector<TimeTree> function (TimeTree , TimeTree ...)