view assertIsMember.m @ 1050:19d821ddc108 feature/getBoundaryOp

Fix mistakes in adbb80e60b10
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 11:27:30 -0800
parents c596122374df
children
line wrap: on
line source

function assertIsMember(v, allowed)
    assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed));
end