Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Offline uni  
#21 Posted : 13 March 2020 18:37:30(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
Я посмотрел под отладчиком. Выходной массив создаётся перед вычислением функции, поэтому, если функция по какой-то причине его не заполнила и завершила работу, то все значения остаются нулевыми. В нашем случае функция не доходит даже до второй итерации и почему-то завершает работу. С чем это связано пока не могу сказать. Более простые примеры работают.
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
Users browsing this topic
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.