X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftime_gammaseries.cpp;h=0c8c6575c0b0ba28b5c2e1a66cb9c36bca8d5d0b;hp=cd09eacc7c17e1a732615258ecb6c63d00f3df43;hb=d0ff428fb5b7bb565a0aea69e05e5705d840c16d;hpb=93d02d3b90587f38cbc33cf25ee89795c415574c diff --git a/check/time_gammaseries.cpp b/check/time_gammaseries.cpp index cd09eacc..0c8c6575 100644 --- a/check/time_gammaseries.cpp +++ b/check/time_gammaseries.cpp @@ -3,7 +3,7 @@ * Some timings on series expansion of the Gamma function around a pole. */ /* - * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2018 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -55,15 +55,10 @@ unsigned time_gammaseries() cout << "timing Laurent series expansion of Gamma function" << flush; - vector sizes; + vector sizes = {20, 25, 30, 35}; vector times; timer omega; - sizes.push_back(20); - sizes.push_back(25); - sizes.push_back(30); - sizes.push_back(35); - for (vector::iterator i=sizes.begin(); i!=sizes.end(); ++i) { omega.start(); result += tgammaseries(*i);