Cmdstanr: seed = 0 is invalid here (while it is valid in rstan)

Created on 27 Oct 2020  路  2Comments  路  Source: stan-dev/cmdstanr

Describe the issue
Just wanted to point out that while rstan accepts a seed of 0, cmdstanr allows only values over 1. Is this on purpose? It's just mildly annoying when I want to use rstan functions with cmdstanr

CmdStanR version number
0.1.3

fix in cmdstan needed

Most helpful comment

This was fixed in cmdstan and the next release will allow seed = 0. Will open a separate issue to track progress on supporting new 2.26 features that require changes in cmdstanr. Thanks!

All 2 comments

This is a limit that cmdstan enforces. I am not completely sure why its > 0 not >= 0.

Opened an issue: https://github.com/stan-dev/cmdstan/issues/941

This was fixed in cmdstan and the next release will allow seed = 0. Will open a separate issue to track progress on supporting new 2.26 features that require changes in cmdstanr. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SteveBronder picture SteveBronder  路  7Comments

jgabry picture jgabry  路  3Comments

bnicenboim picture bnicenboim  路  9Comments

rok-cesnovar picture rok-cesnovar  路  12Comments

jpritikin picture jpritikin  路  6Comments