Skip to content

Commit

Permalink
Robinson: fix the mistake in d3#211 (d3#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhso committed May 29, 2022
1 parent 405fc00 commit 48a5559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robinson.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function robinsonRaw(lambda, phi) {
}

robinsonRaw.invert = function(x, y) {
var phi = y * 90,
var phi = y * degrees,
i = min(18, abs(phi / 5)),
i0 = max(0, floor(i));
do {
Expand Down

0 comments on commit 48a5559

Please sign in to comment.