alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
628 stars 166 forks source link

fix typo in ICP causing error #26

Closed bbrrck closed 7 years ago

bbrrck commented 7 years ago

Fixes the typo which caused error in icp(A,B,varargin) if #A is bigger than #B.

For instance, calling icp(rand(100,2),rand(10,2)) throws Index exceeds matrix dimensions on line 99.