Skip to content

vector distribution tests should test with vectors of not all the same values #1978

Open

Description

@bbbales2

Description

There was a bug in an lcdf distribution that would have been caught if the vectorized versions of the CDFs were tested with vectors of different values (#1662).

Right now the vectorized tests build vectors of the same value (see the repeat_as_vector test).

This would have been caught if there was a test that tested vectorized vs. non-vectorized versions of the functions where it's not just a repeat of the same value (see discussion here).

Current Version:

v3.2.0

Activity

  1. changed the title [-]vector test in distribution tests should use different values[/-] [+]vector distribution tests should test with vectors of not all the same values[/+] on Jul 19, 2020
  2. bbbales2 commented on Jul 24, 2020

    @bbbales2
    MemberAuthor

    This is a duplicate of: #1861

  3. bbbales2 commented on Jul 28, 2020

    @bbbales2
    MemberAuthor

    Whoops, not quite a duplicate. This is for cdfs.

  4. added
    distributionsIssues that deal with distribution functions: pdf, pmf, cdf
    on Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    distributionsIssues that deal with distribution functions: pdf, pmf, cdftesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions