Commit 9c2342d8 authored by Nick Craver's avatar Nick Craver

Merge branch 'master' of https://github.com/brunohbrito/StackExchange.Redis into brunohbrito-master

parents 10e95fe1 14e0e979
......@@ -265,7 +265,7 @@ internal string[] GetItemsAsStrings()
{
return null;
}
return new GeoPosition((double)coords[0].AsRedisValue(), (double)coords[1].AsRedisValue());
return new GeoPosition((double)coords[1].AsRedisValue(), (double)coords[0].AsRedisValue());
}
internal GeoPosition?[] GetItemsAsGeoPositionArray()
{
......@@ -290,7 +290,7 @@ internal string[] GetItemsAsStrings()
}
else
{
arr[i] = new GeoPosition((double)item[0].AsRedisValue(), (double)item[1].AsRedisValue());
arr[i] = new GeoPosition((double)item[1].AsRedisValue(), (double)item[0].AsRedisValue());
}
}
return arr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment