Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup unused typedefs #2504

Closed
andrjohns opened this issue Jun 11, 2021 · 0 comments
Closed

Cleanup unused typedefs #2504

andrjohns opened this issue Jun 11, 2021 · 0 comments

Comments

@andrjohns
Copy link
Collaborator

Description

There are a few stray typedefs in the math library that cause compiler warnings, would be good to clean them up

Example

./stan/math/prim/prob/skew_double_exponential_lpdf.hpp: In function ‘stan::return_type_t<T_y0, T_param, T_t0, T_ts> stan::math::skew_double_exponential_lpdf(const T_y&, const T_loc&, const T_scale&, const T_skewness&)’:
./stan/math/prim/prob/skew_double_exponential_lpdf.hpp:47:9: warning: typedef ‘using T_partials_array = class Eigen::Array<typename stan::partials_return_type<T_y, T_x, T_alpha, T_beta>::type, -1, 1>’ locally defined but not used [-Wunused-local-typedefs]
   47 |   using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
      |         ^~~~~~~~~~~~~~~~

Current Version:

v4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants