Skip to content

Type checking in models.py #126

@dilawar

Description

@dilawar
  • np.array members are called on int

S = S.clip(0)

S, I and D are int here: clip wont work. Are these self.S etc that are list[int]?

Similary .copy(), .astype(), .clip() is called on int in a few places.

  • int is being treated as Sequence

shape = (sims, bins) = S0.shape

doesn't make sense since S0 is int in argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions