Mercurial > repos > public > sbplib
view default_field.m @ 105:1df4f3704b76 feature/arclen-param
Added error checking for all methods that use the derivative gp. Removed that from the to do list. Updated some comments.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Mon, 07 Dec 2015 18:51:41 +0100 |
parents | 14bf01b7a068 |
children | 50cafc4b9e40 |
line wrap: on
line source
function default_field(s, f, val) if isfield(s,f) return end s.(f) = val; assignin('caller', inputname(1),s); end