Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 22bfd99

Browse files
Merge pull request #46 from 20treeAI/fix/srtm
fix: srtm flag
2 parents 6d102c6 + 630d1ff commit 22bfd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s2p/rpc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def exogenous_disp_range_estimation(rpc1, rpc2, x, y, w, h, H1, H2, cfg, A=None,
445445
disparity is made horizontal thanks to the two rectifying homographies
446446
H1 and H2.
447447
"""
448-
if cfg['exogenous_dem'] is None and cfg.get('exogenous_dem', None) in [None, False]:
448+
if cfg['exogenous_dem'] is None and cfg.get('use_srtm', None) in [None, False]:
449449
return
450450

451451
m, M = altitude_range(rpc1, x, y, w, h, cfg, margin_top, margin_bottom)

0 commit comments

Comments
 (0)