gtsam/matlab/CHECK.m

6 lines
89 B
Matlab

function CEHCK(name,assertion)
if (assertion~=1)
error(['CHECK ' name ' fails']);
end