Skip to content

Conversation

@shio-phys
Copy link
Contributor

remove following methods

  • TrialDivision#cache
  • TrialDivision#primes
  • TrialDivision#primes_so_far

TrialDivision class is undocumented officially, so this class used only internally.
yugui san moved prime library from mathn to prime in 2008, and then she might forget to delete these methods.
883d71a
ruby/mathn@5d1c0c3

@mame mame merged commit 3e94e48 into ruby:master Jun 24, 2018
matzbot pushed a commit to ruby/ruby that referenced this pull request Jun 24, 2018
This change removes TrialDivision#cache, TrialDivision#primes, and
TrialDivision#primes_so_far.

TrialDivision class is undocumented officially, so this class is used
only internally.  Yugui san moved prime library from mathn to prime in
2008, and then she might forget to delete these methods.

A patch from @shio-phys.  ruby/prime#4

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
NicholasLYang pushed a commit to NicholasLYang/ruby that referenced this pull request Jun 25, 2018
This change removes TrialDivision#cache, TrialDivision#primes, and
TrialDivision#primes_so_far.

TrialDivision class is undocumented officially, so this class is used
only internally.  Yugui san moved prime library from mathn to prime in
2008, and then she might forget to delete these methods.

A patch from @shio-phys.  ruby/prime#4

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants