Skip to content

Commit

Permalink
r.kappa: maps[0] is the reference and maps[1] is the classified map (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mlennert authored and neteler committed Feb 11, 2020
1 parent 18e9f3d commit c703455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raster/r.kappa/stats.c
Expand Up @@ -27,12 +27,12 @@ int stats(void)
const char *argv[9];
int argc = 0;

strcpy(mname, maps[0]);
strcpy(mname, maps[1]);
mmapset = G_find_raster2(mname, "");
if (mmapset == NULL)
G_fatal_error(_("Raster map <%s> not found"), maps[0]);

strcpy(rname, maps[1]);
strcpy(rname, maps[0]);
rmapset = G_find_raster2(rname, "");
if (rmapset == NULL)
G_fatal_error(_("Raster map <%s> not found"), maps[1]);
Expand Down

0 comments on commit c703455

Please sign in to comment.