File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -261,9 +261,9 @@ extension ScalarConstructible where Self: FloatingPoint & SexagesimalConvertible
261
261
return . nan
262
262
default :
263
263
let string = scalar. string. replacingOccurrences ( of: " _ " , with: " " )
264
- if string. contains ( " : " ) {
265
- return Self ( sexagesimal: string)
266
- }
264
+ // if string.contains(":") {
265
+ // return Self(sexagesimal: string)
266
+ // }
267
267
return . create( from: string)
268
268
}
269
269
}
@@ -299,9 +299,9 @@ private extension FixedWidthInteger where Self: SexagesimalConvertible {
299
299
for (prefix, radix) in prefixToRadix where scalar. hasPrefix ( prefix) {
300
300
return Self ( signPrefix + scalar. dropFirst ( prefix. count) , radix: radix)
301
301
}
302
- if scalar. contains ( " : " ) {
303
- return Self ( sexagesimal: scalarWithSign)
304
- }
302
+ // if scalar.contains(":") {
303
+ // return Self(sexagesimal: scalarWithSign)
304
+ // }
305
305
return Self ( scalarWithSign)
306
306
}
307
307
}
You can’t perform that action at this time.
0 commit comments