Skip to content

Remove parens around equality checks #593

Closed

Description

@syclik

Summary:

There are redundant parens around some equality checks. See @bob-carpenter's comment

This example:

if ((eta == 1.0) &&
      stan::is_constant<typename stan::scalar_type<T_shape> >::value)

should be:

if (eta == 1.0 && is_constant<typename scalar_type<T_shape> >::value)

Current Version:

v2.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions