Skip to content
Snippets Groups Projects
Commit d43cde17 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

gtPlaceSubVolume: small fix in input handling

parent 6e4610fb
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,13 @@ function output = gtPlaceSubVolume(output, input, shift, index, assign_op, use_c
% Note 2 - If index is 0, the volume will be copied as it is, otherwise
% all the voxels will have value of the index
if (~exist('use_c_functions', 'var'))
if (~exist('use_c_functions', 'var') || isempty(use_c_functions))
use_c_functions = true;
end
if (~exist('index', 'var'))
if (~exist('index', 'var') || isempty(index))
index = 0;
end
if (~exist('assign_op', 'var'))
if (~exist('assign_op', 'var') || isempty(assign_op))
assign_op = 'assign';
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment