Skip to content

Commit

Permalink
Cosmetics.
Browse files Browse the repository at this point in the history
  • Loading branch information
am-kantox committed Jan 11, 2018
1 parent e6eb224 commit 025e890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lib_lat_lon/data/bounds.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule LibLatLon.Bounds do
@moduledoc """
Convenient storage for `Bounds`.
Convenient storage for geo bounds.
"""

@typedoc """
Expand Down Expand Up @@ -28,6 +28,7 @@ defmodule LibLatLon.Bounds do

defstruct @fields

@doc false
def from_lat_lon([lat1, lat2, lon1, lon2]) do
[lat1, lat2, lon1, lon2] = Enum.map([lat1, lat2, lon1, lon2], &LibLatLon.Utils.strict_float/1)

Expand Down

0 comments on commit 025e890

Please sign in to comment.