Skip to content

Commit 2f74313

Browse files
committed
fixing styling and formating of files in Maths folder to pass automation test
1 parent 7ae0aad commit 2f74313

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Maths/Coordinate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Wikipedia reference: https://en.wikipedia.org/wiki/Geographical_distance#Flat-surface_formulae
66
*/
77
/**
8-
* @param {number} longitude1 - The longitude of the first point.
8+
* @param {number} longitude1 - The longitude of the first point.
99
* @param {number} latitude1 - The latitude of the first point.
1010
* @param {number} longitude2 - The longitude of the second point.
1111
* @param {number} latitude2 - The latitude of the second point.
@@ -17,7 +17,7 @@ const euclideanDistance = (longitude1, latitude1, longitude2, latitude2) => {
1717
return Math.sqrt(width * width + height * height)
1818
}
1919
/*
20-
* @param {number} longitude1 - The longitude of the first point.
20+
* @param {number} longitude1 - The longitude of the first point.
2121
* @param {number} latitude1 - The latitude of the first point.
2222
* @param {number} longitude2 - The longitude of the second point.
2323
* @param {number} latitude2 - The latitude of the second point.

Maths/MobiusFunction.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ export const mobiusFunction = (number) => {
2828
return primeFactorsArray.length !== new Set(primeFactorsArray).size
2929
? 0
3030
: primeFactorsArray.length % 2 === 0
31-
? 1
32-
: -1
31+
? 1
32+
: -1
3333
}

0 commit comments

Comments
 (0)