Skip to content

const correctness for services #2781

@bob-carpenter

Description

@bob-carpenter

Summary:

Two arguments to the service functions (all functions in stan/services/...) should be made constant:

  • io::var_context: this should be easy as var_context has appropriate const declarations
  • Model (templated); this will require a lot of fixes as the generated code for our models does not have appropriate const correctness.

It would be nice to have both, but a PR to solve either one on its own would be welcome.

Current Version:

v2.19.1

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions