Skip to content

Commit

Permalink
Merge pull request #3 from michael-groble/fix-location-access
Browse files Browse the repository at this point in the history
Fix property access
  • Loading branch information
michael-groble authored Jan 8, 2017
2 parents 3ca391a + 99eeb1e commit 3d8eea3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/Geohash/GeohashBits.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public enum GeohashError : Error {
}

public struct GeohashBits {
let bits : UInt64
let precision : UInt8
public let bits : UInt64
public let precision : UInt8
let fromString : Bool

init(bits: UInt64, precision: UInt8, fromString: Bool) throws {
Expand Down
4 changes: 2 additions & 2 deletions Sources/Geohash/Location.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class Location {
static let radiansPerDegree = Double.pi / 180.0
static let earthDiameterMeters = 2.0 * 6_371_000.0

let longitude: Double
let latitude: Double
public let longitude: Double
public let latitude: Double

public init(longitude lon: Double, latitude lat: Double) {
self.longitude = lon
Expand Down

0 comments on commit 3d8eea3

Please sign in to comment.