Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Change variable name step to something else #95

@charleskawczynski

Description

@charleskawczynski

In several places, (for example here), step is used as a variable name, but step is a Julia intrinsic function:

help?> step
search: step StepRange StepRangeLen CompositeException RoundNearestTiesUp InvalidStateException isconcretetype

  step(r)

  Get the step size of an AbstractRange object.

  Examples
  ≡≡≡≡≡≡≡≡≡≡

  julia> step(1:10)
  1

  julia> step(1:2:10)
  2

  julia> step(2.5:0.3:10.9)
  0.3

  julia> step(range(2.5, stop=10.9, length=85))
  0.1

So, we should probably not overwriting it to avoid confusion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions