back. Thanks!
On 28.04.22 13:38, Christian Lawson-Perfect wrote:
> The 'sum' variable that's there doesn't claim to be used anywhere, so I
> think what happened is that it was created while you were typing, before
> you put the brackets in to make it a function application, and then
> somehow it forgot to remove it. I made a copy of your question and
> deleted the variable, and it wasn't created again.
>
> On Thu, 28 Apr 2022 at 12:28, Ben Brawn <
ben....@gmail.com
> <mailto:
ben....@gmail.com>> wrote:
>
> try changing your definition to map(v[i]*w[i],i,0..len(v)-1)
>
> On Thu, 28 Apr 2022 at 21:15, Julia Goedecke
> <
julia.g...@cantab.net <mailto:
julia.g...@cantab.net>> wrote:
>
> Hello,
> I think this error has happened before:
> I'm creating a question
>
https://numbas.mathcentre.ac.uk/question/share/view/996c17fe-29f9-48bb-ae37-292dfdefe762
> <
https://numbas.mathcentre.ac.uk/question/share/view/996c17fe-29f9-48bb-ae37-292dfdefe762>
> where I have a function definition which uses "sum(..)", sum of
> a list
> of numbers, which is a JME function, right? But then there variable
> "sum" is automatically created as the editor thinks I need it.
>
> Julia
> --
>
> --
> You received this message because you are subscribed to the
> Google Groups "Numbas Users" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
numbas-users...@googlegroups.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Numbas Users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
numbas-users...@googlegroups.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Numbas Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
numbas-users...@googlegroups.com