view timeTask.m @ 1140:738de3a4058b feature/laplace_curvilinear_test

Update borrowing constants so that M constants are from Virta2014 and R constants are for bp=2,4,7.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 21 Jun 2019 17:28:02 +0200
parents 1afd33f719df
children
line wrap: on
line source

function done = timeTask(fmt, varargin)
    fprintf(fmt, varargin{:});
    tStart = tic;

    function done_fun()
        fprintf(' - done %fs\n', toc(tStart));
    end
    done = @done_fun;
end