Skip to content

Commit

Permalink
Changed the min max values when setting the color table
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey White committed Nov 8, 2024
1 parent 910e1fb commit 45dc2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagery/i.vi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ int main(int argc, char *argv[])
const char *style = "ndwi";

if (G_find_color_rule("ndwi")) {
Rast_make_fp_colors(&colors, style, -200.0, 200.0);
Rast_make_fp_colors(&colors, style, -1.0, 1.0);
}
else
G_fatal_error(_("Unknown color request '%s'"), style);
Expand Down

0 comments on commit 45dc2c0

Please sign in to comment.