Mercurial > repos > public > sbplib
view default_field.m @ 940:31186559236d feature/utux2D
Add forgotten type argument in call to interfaceStandard in Schrodinger2d and LaplCurv.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 04 Dec 2018 14:42:36 -0800 |
parents | af9a63a4a5d0 |
children | d1c13505182a |
line wrap: on
line source
function default_field(s, f, val) if isfield(s,f) && ~isempty(s.(f)) return end s.(f) = val; assignin('caller', inputname(1),s); end