I want to know how to use a enumerated discrete sample site inside a markov context in the downstream code. I have recently come across two errors which i believe is caused by not doing this properly, i read through the relevant tutorials and haven’t find helpful information.
The first error occurs when i want to use the a discrete variable of a certain time step to determine downstream structure using if-else. The second error occurs because i want to use this variabel to be the index of some tensor of a downstream sample sites.
If i missed some information in the tutorials, please give me some links~
Really appreciated any help.