view assertIsMember.m @ 1304:a38e80fdbf60 feature/poroelastic

Improve performance for the hollow case
author Martin Almquist <malmquist@stanford.edu>
date Sat, 11 Jul 2020 07:25:06 -0700
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