[GRASS-git] [OSGeo/grass-addons] fae785: r.learn.train: np.object to object (#878)

Paulo van Breugel noreply at github.com
Mon Mar 20 07:42:11 PDT 2023


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: fae785d888c176b29fbcc27017ad63b17e2aec36
      https://github.com/OSGeo/grass-addons/commit/fae785d888c176b29fbcc27017ad63b17e2aec36
  Author: Paulo van Breugel <paulo at ecodiv.earth>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M src/raster/r.learn.ml2/r.learn.train/r.learn.train.py

  Log Message:
  -----------
  r.learn.train: np.object to object (#878)

Following up on bug report #872 - with numpy > 1.24.0 the numpy object is depricated. Changing `np.object` to `object` should solve the problem.




More information about the grass-commit mailing list