Skip to content

elt_divide(Matrix, var) not compiling #290

@bob-carpenter

Description

@bob-carpenter

Summary:

Missing signature for elt_divide(Matrix, var).

Originally reported as: stan-dev/stan#1883

Description:

Missing definition for / needs to be replaced with Stan math divison.

stan/lib/stan_math/stan/math/prim/mat/fun/elt_divide.hpp:51:16: error: invalid operands to
      binary expression ('const Eigen::Matrix<double, -1, 1>' and 'stan::math::var')
      return m / s;
             ~ ^ ~

Reproducible Steps:

See: See: stan-dev/stan#1883

Current Version:

v2.9.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions