Error loading objects containing Jacobi elliptic functions

32 views
Skip to first unread message

Sean Trim

unread,
Jul 24, 2022, 4:47:11 AM7/24/22
to sage-devel
Hi All,

I've been experiencing a problem saving and loading Sage objects containing Jacobi elliptic functions. Here's a minimal example:

sage: f(x)=jacobi('sn',x,1/2)
sage: save(f(x),'f_save.sobj')
sage: reset()
sage: load('f_save.sobj')

I get the following error:
TypeError: Jacobi.__init__() missing 1 required positional argument: 'kind'

The 'kind' positional argument is 'sn' from the first line. However, that argument appears to get lost during the save/load process. Does anyone know of a solution to this problem?

I'm running Sage 9.5 with Python 3.10.4. My OS is Ubuntu 22.04 running on 64-bit architecture.

Thank you,
Sean
Reply all
Reply to author
Forward
0 new messages