You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When there is a 0 in seq, an error occurs during type conversion: Error: Failed conversion from type 'Integer' to type 'RealPos'.
To Reproduce 0.1 * seq(1, 99, 1) runs normally, but running 0.1 * seq(0, 99, 1) prompts an error: Error: Failed conversion from type 'Integer' to type 'RealPos'. I guess it's because the vector contains 0.
PS: 0.1 * seq(0.0, 99, 1) also runs normally.
Expected behavior 0.1 * seq(0, 99, 1) can run normally.
Screenshots
Computer info
I am using a Mac, and the version of RevBayes I am using is development (rapture-2545-g7c2b56).
The text was updated successfully, but these errors were encountered:
Describe the bug
When there is a
0
inseq
, an error occurs during type conversion:Error: Failed conversion from type 'Integer' to type 'RealPos'
.To Reproduce
0.1 * seq(1, 99, 1)
runs normally, but running0.1 * seq(0, 99, 1)
prompts an error:Error: Failed conversion from type 'Integer' to type 'RealPos'
. I guess it's because the vector contains 0.PS:
0.1 * seq(0.0, 99, 1)
also runs normally.Expected behavior
0.1 * seq(0, 99, 1)
can run normally.Screenshots
Computer info
I am using a Mac, and the version of RevBayes I am using is development (rapture-2545-g7c2b56).
The text was updated successfully, but these errors were encountered: