Skip to content

Commit 2bf5a72

Browse files
Apply suggestions from code review
Co-authored-by: Tianyi Zheng <[email protected]>
1 parent 1140fd4 commit 2bf5a72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

maths/points_are_collinear_3d.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def are_collinear(a: Point3d, b: Point3d, c: Point3d, accuracy: int = 10) -> boo
9797
"""
9898
Check if three points are collinear or not.
9999
100-
1- Create tow vectors AB and AC.
101-
2- Get the cross vector of the tow vectors.
100+
1- Create two vectors AB and AC.
101+
2- Get the cross vector of the two vectors.
102102
3- Calculate the length of the cross vector.
103103
4- If the length is zero then the points are collinear, else they are not.
104104

neural_network/convolution_neural_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def convolute(self, data, convs, w_convs, thre_convs, conv_step):
135135
)
136136
data_featuremap.append(featuremap)
137137

138-
# expanding the data slice to One dimension
138+
# expanding the data slice to one dimension
139139
focus1_list = []
140140
for each_focus in data_focus:
141141
focus1_list.extend(self.Expand_Mat(each_focus))

0 commit comments

Comments
 (0)