Changeset 52184


Ignore:
Timestamp:
Jun 22, 2012 3:39:41 AM (4 years ago)
Author:
annakrat
Message:

use atof instead of atoi for input parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/raster/r.resamp.filter/main.c

    r51088 r52184  
    465465        type = find_method(filter_arg);
    466466        filter->func = type->func;
    467         filter->x_radius = fabs(atoi(x_radius_arg));
    468         filter->y_radius = fabs(atoi(y_radius_arg));
     467        filter->x_radius = fabs(atof(x_radius_arg));
     468        filter->y_radius = fabs(atof(y_radius_arg));
    469469        if (type->radius) {
    470470            double rx = type->radius * filter->x_radius;
Note: See TracChangeset for help on using the changeset viewer.