diff options
| author | Oskari Timperi <oskari.timperi@novatron.fi> | 2022-03-23 16:52:01 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@novatron.fi> | 2022-03-23 16:52:01 +0200 |
| commit | 9d04d4d186c861099132bcd87122f1de25a89362 (patch) | |
| tree | 76775fd0f53787d3ac24fca4fc8d301b11983dc9 /src/pipeline.cpp | |
| parent | 8c51e3c99acc9083d82a5a7a6dae146e2a689f8e (diff) | |
| download | PROJ-9d04d4d186c861099132bcd87122f1de25a89362.tar.gz PROJ-9d04d4d186c861099132bcd87122f1de25a89362.zip | |
Steps with omit_inv are not considered when checking if inverse pipeline operation is possible
Diffstat (limited to 'src/pipeline.cpp')
| -rw-r--r-- | src/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipeline.cpp b/src/pipeline.cpp index 2f50162f..bdbd1d49 100644 --- a/src/pipeline.cpp +++ b/src/pipeline.cpp @@ -550,7 +550,7 @@ PJ *OPERATION(pipeline,0) { /* determine if an inverse operation is possible */ for( auto& step: pipeline->steps) { PJ *Q = step.pj; - if ( pj_has_inverse(Q) ) { + if ( step.omit_inv || pj_has_inverse(Q) ) { continue; } else { P->inv = nullptr; |
