Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N NIFTy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ift
  • NIFTy
  • Merge requests
  • !49

WIP: refactor _distance_array_helper

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Dixit, Jait (jaitd) requested to merge lmspace_dist_arr into master Feb 08, 2017
  • Overview 2
  • Commits 2
  • Pipelines 2
  • Changes 1

The original implementation accepted an array which infact was just an integer cast as np.ndarray for each element of which (in this case 1), m was calculated which in turn was used to calculate the distance, which again was an np.ndarray.

I've removed an unnecessary variable size and the implementation now directly uses the 'index' provided. The results are identical as the original implementation.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: lmspace_dist_arr