Skip to content

[BUG] Argument printing in output no longer shows sufficient digits #1242

@andrjohns

Description

@andrjohns

Summary

The printing of input arguments in the output now seems to be truncated to a fixed number of digits (possibly rounded as well):

Under cmdstan 2.33.1:

andrew@Andrews-MacBook-Air bernoulli % ./bernoulli optimize algorithm=lbfgs tol_obj=1e-11 data file=bernoulli.data.json
method = optimize
  optimize
    algorithm = lbfgs (Default)
      lbfgs
        init_alpha = 0.001 (Default)
        tol_obj = 9.9999999999999994e-12

Under cmdstan 2.34:

andrew@Andrews-MacBook-Air bernoulli % ./bernoulli optimize algorithm=lbfgs tol_obj=1e-11 data file=bernoulli.data.json                 
method = optimize
  optimize
    algorithm = lbfgs (Default)
      lbfgs
        init_alpha = 0.001000 (Default)
        tol_obj = 0.000000

Current Version:

v2.34.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions