Jose, Note that [double] is a matrix type, which is incomparable with an array type. However, ArrayType(double) is indeed more general than ArrayType(double, 9).
Marten -- Marten Lohstroh, Msc. | Associate Specialist University of California | 545Q Cory Hall Berkeley, CA 94720 | +1 510 282 9135 On Wed, Nov 6, 2013 at 9:32 AM, Jose Borreguero <borregu...@gmail.com> wrote: > I am trying to pass the output of a JSONToToken actor, which is of type { > o1=ArrayType(double,9), o2=ArrayType(double,9)} to a RecordDissasembler > Actor that is expecting a type {o1=[double], o2=[double]}. I set backward > type inference. > > I had thought that [double] was more general than ArrayType(double,9), but > Kepler complains: > > Run-time checking: token { o1=ArrayType(double,9), o2=ArrayType(double,9) } > is incompatible with port type { o1=[double], o2=[double] }. > > > -Jose > > _______________________________________________ > Kepler-users mailing list > Kepler-users@kepler-project.org > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users > -- Marten Lohstroh, Msc. | Associate Specialist University of California | 545Q Cory Hall Berkeley, CA 94720 | +1 510 282 9135 On Wed, Nov 6, 2013 at 12:32 PM, Jose Borreguero <borregu...@gmail.com> wrote: > I am trying to pass the output of a JSONToToken actor, which is of type { > o1=ArrayType(double,9), o2=ArrayType(double,9)} to a RecordDissasembler > Actor that is expecting a type {o1=[double], o2=[double]}. I set backward > type inference. > > I had thought that [double] was more general than ArrayType(double,9), but > Kepler complains: > > Run-time checking: token { o1=ArrayType(double,9), o2=ArrayType(double,9) } > is incompatible with port type { o1=[double], o2=[double] }. > > > -Jose > > _______________________________________________ > Kepler-users mailing list > Kepler-users@kepler-project.org > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users > _______________________________________________ Kepler-users mailing list Kepler-users@kepler-project.org http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users