Skip to content
Snippets Groups Projects
Commit 35bc4818 authored by Andy Yates's avatar Andy Yates
Browse files

Switching the logic around a little bit here to get rid of single | or...

Switching the logic around a little bit here to get rid of single | or statements and an xor which I think has caused issues somewhere in our pipelines
parent a7b53b89
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,10 @@ sub new {
$value_type."*");
}
$block_size |= 0;
$region_features |= 0;
$block_size ||= 0;
$region_features ||= 0;
if(! ($block_size xor $region_features )){
if($block_size && $region_features){
throw('Set either -BLOCK_SIZE or -REGION_FEATURES, not both');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment