cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

selection_sort.php does not work

Open parthamittra opened this issue 7 years ago • 8 comments

This is a(n):

  • [ ] New algorithm
  • [ ] Update to an existing algorithm
  • [x ] Error
  • [ ] Proposal to the Repository

Details: selection_sort.php in cosmos/code/sorting/src/selection_sort/selection_sort.php does not work. When I run it on the cmd line 'php selection_sort.php' I get the following results parthamittra@system76-pc:~/OpenGenus/cosmos/code/sorting/src/selection_sort$ php selection_sort.php Array ( [0] => 1 [1] => 3 [2] => 43 [3] => 2 [4] => 14 [5] => 53 [6] => 12 [7] => 87 [8] => 33 ) Array ( [0] => 1 [1] => 3 [2] => 43 [3] => 43 [4] => 14 [5] => 53 [6] => 53 [7] => 87 [8] => 33 )

I have already solved the issue and written new code . I just have no rights to create new branch for the pull request

parthamittra avatar May 05 '19 05:05 parthamittra

please assign this issue to me as I have already written the code and committed to my local repository. I just have no rights on the remote repository to create my remote dev branch.

parthamittra avatar May 05 '19 05:05 parthamittra

Done.

arnavb avatar May 06 '19 01:05 arnavb

Just create a PR and I'll review, then merge.

arnavb avatar May 06 '19 01:05 arnavb

will do

parthamittra avatar May 06 '19 02:05 parthamittra

@arnavb I don't have rights to the repository so I cannot push my remote dev branch which has the fix in it for selection_sort.php.

parthamittra avatar May 06 '19 02:05 parthamittra

@parthamittra Did you fork this repository and create your branch there? Once you do that, you create a PR here.

arnavb avatar May 06 '19 10:05 arnavb

Got it. I already forked and worked on it there.

On Mon, May 6, 2019, 6:08 AM Arnav Borborah [email protected] wrote:

@parthamittra https://github.com/parthamittra Did you fork this repository and create your branch there? Once you do that, you create a PR here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenGenus/cosmos/issues/4061#issuecomment-489570436, or mute the thread https://github.com/notifications/unsubscribe-auth/ADG4JZJNLOBQ2CHLFHJT22LPT77RTANCNFSM4HK2NW7Q .

parthamittra avatar May 06 '19 10:05 parthamittra

pull request is created from my forked branch

parthamittra avatar May 06 '19 11:05 parthamittra