view prof.m @ 941:cd74e177d256 feature/utux2D

Remove empty line in Schrodinger2d
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 14:51:23 -0800
parents cb65c81d6c87
children
line wrap: on
line source

function prof(f)
    profile on
    try
        f();
        profile viewer
    catch e
        fprintf(2, '\n%s', getReport(e));
        profile clear
    end
end