view assertIsMember.m @ 999:337c4d1dcef5 feature/getBoundaryOp

Fix overlooked Schrodinger1d scheme.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 12 Jan 2019 13:44:08 -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