stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.59k stars 370 forks source link

Fix warning: unused variable `num_params` #3126

Closed hsbadr closed 2 years ago

hsbadr commented 2 years ago

Fixes:

src/stan/services/sample/standalone_gqs.hpp:47:10: warning: unused variable 'num_params' [-Wunused-variable]
   47 |   size_t num_params = param_names.size();
      |          ^~~~~~~~~~

after #3070.