aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipeline.cpp')
-rw-r--r--src/pipeline.cpp2
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;