Skip to content

Commit

Permalink
BUG: direction was filled instead of origin
Browse files Browse the repository at this point in the history
  • Loading branch information
vlibertiaux committed Feb 19, 2020
1 parent 0965dfe commit dbe00e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rtkGgoFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ SetProjectionsReaderFromGgo(typename TProjectionsReaderType::Pointer reader, con
typename TProjectionsReaderType::OutputImagePointType origin;
if (args_info.neworigin_given)
{
direction.Fill(args_info.neworigin_arg[0]);
origin.Fill(args_info.neworigin_arg[0]);
for (unsigned int i = 0; i < args_info.neworigin_given; i++)
origin[i] = args_info.neworigin_arg[i];
reader->SetOrigin(origin);
Expand Down

0 comments on commit dbe00e4

Please sign in to comment.