0

I am trying to solve a DAE in a python code on a Windows visual studio code. However, I cannot import some attributes of the module jitcode receiving the following error message:

AttributeError: module 'jitcode' has no attribute 'provide_basic_symbols'
Roosha
  • 89
  • 3
  • 10

1 Answers1

1

provide_basic_symbols was an overly complicated construction in early versions of JiTC*DE that was discontinued years ago (with the 1.0 release, IIRC). Instead you can now import the “basic symbols” directly:

from jitcode import y,t

Note that JiTCODE does not solve DAEs out of the box, only ODEs (to which some DAEs can be transformed).

Wrzlprmft
  • 4,234
  • 1
  • 28
  • 54