EarthObservation / RVT_py

Relief Visualization Toolbox in Python
Apache License 2.0
26 stars 6 forks source link

Typo in blend.py #13

Closed NejcCoz closed 2 years ago

NejcCoz commented 2 years ago

Is there a typo in the following line? The problem with how the brackets are placed for the second boolean expression.

https://github.com/EarthObservation/RVT_py/blob/0db4755e2ca544979b20c44867c41561700370bd/rvt/blend.py#L585

I am not sure what are the consequences of this, but I feel like it could affect blending., because it doesn't preform a check for values that are greater than 1.

zm8597 commented 2 years ago

Sorry for my bad response time. Yes it is a typo :), I will fix it. Thank you.