Skip to content

Commit

Permalink
Update climada/hazard/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chahan M. Kropf <[email protected]>
  • Loading branch information
peanutfun and chahank authored Jun 21, 2024
1 parent ebb2cc8 commit c58b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion climada/hazard/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Hazard(HazardIO, HazardPlot):
In particular, a "non-canonical" matrix may store "duplicates", i.e. multiple values
that map to the same matrix position. This is supported, and the default behavior is
to sum up these values. To avoid any inconsistencies, call :py:meth:`check_matrices`
once you inserted all data.
once you inserted all data. This will explicitly sum all values at the same matrix position and eliminate explicit zeros.

Check warning on line 64 in climada/hazard/base.py

View check run for this annotation

Jenkins - WCR / Pylint

line-too-long

LOW: Line too long (125/100)
Raw output
Used when a line is longer than a given number of characters.
This class will call :py:func:`climada.util.checker.prune_csr_matrix` whenever a
csr_matrix is assigned to one of the aforementioned attributes.
Expand Down

0 comments on commit c58b48d

Please sign in to comment.