numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 15 forks source link

Bug: OEIS sequence does not work if no modulus is specified #15

Closed gwhitney closed 3 years ago

gwhitney commented 3 years ago

To reproduce, get a server running per the instructions in backscope, and then run the frontscope. Click "get started," then "Get Sequence". Enter A000045 for the sequence number, whatever name you like, 50 entries (to keep things simple), and a modulus of 1000. Select the resulting sequence, and the difference visualizer with the default settings. Create the bundle, and draw. Make sure that initial values of the sum recurrence are displayed.

Now repeat the process with no modulus specified, and draw the resulting difference visualizer. The row that should display the sequence will be blank, and all differences will be NaN.

liammulh commented 3 years ago

I was able to reproduce the issue following the steps outlined above.