The first row should be a vector of tuples, just like the other
elements.  Please
post the code which generates sottociclo and maybe we can help further.

On Tuesday, October 27, 2015, Michela Di Lullo <[email protected]>
wrote:

> Hello everyone,
>
> I have:
>
> *sottociclo*
>
> *5-element Array{Any,1}:*
>
> * (1,2,5)                  *
>
> * [(1,1,2),(2,1,5)]        *
>
> * [(1,1,2),(5,2,5)]        *
>
> * [(2,1,5),(5,2,5)]        *
>
> * [(1,1,2),(2,1,5),(5,2,5)]*
>
>
> *julia> **length(sottociclo[1])*
>
> *3*
>
>
> *julia> **length(sottociclo[2])*
>
> *2*
>
> How might I modify the code such that *length(sottociclo[1])=1? *
> I need length(sottociclo[*]) be equal to the number of tuple in row *...
> Thanks in advance for any help,
>
> Michela
>

Reply via email to