stan-dev / stan-dev/httpstan

Cannot provide an empty int-valued list

Open
#319 5 comments 0 reactions 1 assignee View on GitHub

@riddell-stan is already working on this.

Since Oct 6, 2021.

bug wontfix
Dominant language
Python
Stars
42
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Models which use data which contains an empty int-valued list cannot be used.

This does not have a trivial solution since we use JSON for serializing data and JSON cannot distinguish between an empty list of floats and an empty list of ints.

A completely satisfactory solution will probably involve asking Stan or stanc3 to tell us the type of data variables.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.