view assertIsMember.m @ 1007:9c8ed00732fd feature/getBoundaryOp

Revert to old code in multiblock.DiffOp.getBoundaryOperator.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 16 Jan 2019 11:31:04 -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