Skip to content

Commit b5b1eb2

Browse files
authored
Fix broken links by PR TheAlgorithms#7277 (TheAlgorithms#7319)
1 parent d728f5a commit b5b1eb2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

bit_manipulation/count_1s_brian_kernighan_method.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def get_1s_count(number: int) -> int:
22
"""
33
Count the number of set bits in a 32 bit integer using Brian Kernighan's way.
4-
Ref - http://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetKernighan
4+
Ref - https://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetKernighan
55
>>> get_1s_count(25)
66
3
77
>>> get_1s_count(37)

machine_learning/sequential_minimum_optimization.py

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
Reference:
2929
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/smo-book.pdf
3030
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-98-14.pdf
31-
https://web.cs.iastate.edu/~honavar/smo-svm.pdf
3231
"""
3332

3433

physics/n_body_simulation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
numerical divergences when a particle comes too close to another (and the force
99
goes to infinity).
1010
(Description adapted from https://en.wikipedia.org/wiki/N-body_simulation )
11-
(See also https://www.shodor.org/refdesk/Resources/Algorithms/EulersMethod/ )
11+
(See also http://www.shodor.org/refdesk/Resources/Algorithms/EulersMethod/ )
1212
"""
1313

1414

@@ -258,7 +258,7 @@ def example_1() -> BodySystem:
258258
Example 1: figure-8 solution to the 3-body-problem
259259
This example can be seen as a test of the implementation: given the right
260260
initial conditions, the bodies should move in a figure-8.
261-
(initial conditions taken from https://www.artcompsci.org/vol_1/v1_web/node56.html)
261+
(initial conditions taken from http://www.artcompsci.org/vol_1/v1_web/node56.html)
262262
>>> body_system = example_1()
263263
>>> len(body_system)
264264
3

0 commit comments

Comments
 (0)