view timeTask.m @ 492:6b95a894cbd7 feature/quantumTriangles

fixed a bug in the metric coefficients but something is wrong at the boundaries
author Ylva Rydin <ylva.rydin@telia.com>
date Wed, 15 Feb 2017 11:21:04 +0100
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