1/* 2 * ticket-157.sli 3 * 4 * This file is part of NEST. 5 * 6 * Copyright (C) 2004 The NEST Initiative 7 * 8 * NEST is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * NEST is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with NEST. If not, see <http://www.gnu.org/licenses/>. 20 * 21 */ 22 23% previous to the fix for #157, this script caused a C++ 24% assertion to fail for h==0.1, but not for h==0.01, 0.001 25 260.1 /h Set 27 28/T 3.0 def 29 30ResetKernel 31 32<< 33 /resolution h 34 >> SetKernelStatus 35 36/iaf_psc_alpha Create /n Set 37/poisson_generator_ps Create /p Set 38p << /rate 10000. >> SetStatus 39 40p n Connect 41T Simulate 42