File tree 2 files changed +3
-1
lines changed
digital_image_processing/resize
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 108
108
* Heap
109
109
* [ Binomial Heap] ( https://github.com/TheAlgorithms/Python/blob/master/data_structures/heap/binomial_heap.py )
110
110
* [ Heap] ( https://github.com/TheAlgorithms/Python/blob/master/data_structures/heap/heap.py )
111
+ * [ Max Heap] ( https://github.com/TheAlgorithms/Python/blob/master/data_structures/heap/max_heap.py )
111
112
* [ Min Heap] ( https://github.com/TheAlgorithms/Python/blob/master/data_structures/heap/min_heap.py )
112
113
* Linked List
113
114
* [ Circular Linked List] ( https://github.com/TheAlgorithms/Python/blob/master/data_structures/linked_list/circular_linked_list.py )
582
583
* [ Heap Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/heap_sort.py )
583
584
* [ I Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/i_sort.py )
584
585
* [ Insertion Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/insertion_sort.py )
586
+ * [ Iterative Merge Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/iterative_merge_sort.py )
585
587
* [ Merge Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/merge_sort.py )
586
588
* [ Odd Even Transposition Parallel] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/odd_even_transposition_parallel.py )
587
589
* [ Odd Even Transposition Single Threaded] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/odd_even_transposition_single_threaded.py )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class NearestNeighbour:
11
11
12
12
def __init__ (self , img , dst_width : int , dst_height : int ):
13
13
if dst_width < 0 or dst_height < 0 :
14
- raise ValueError (f "Destination width/height should be > 0" )
14
+ raise ValueError ("Destination width/height should be > 0" )
15
15
16
16
self .img = img
17
17
self .src_w = img .shape [1 ]
You can’t perform that action at this time.
0 commit comments