Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Sep 23, 2021
1 parent a26896f commit ba2c159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function exp(base:number,stops:number[][]) : ((z:number) => number) {
export function step(stops:number[][]) : ((z:number) => number) {
return z => {
if (stops.length < 1) return 0
retval = 0
let retval = 0
for (var i=0; i < stops.length; i++) {
if (z >= stops[i][0]) retval = stops[i][1]
}
Expand Down

0 comments on commit ba2c159

Please sign in to comment.