Issues with k index
saadtony opened this issue · comments
Tony Saad commented
I Tried playing around with the indices:
DE1 = DifferentialEquation(dependentVar='u',independentVars=['x'], indices=[k], timeIndex=n)
This throws an error
Mokbel Karam commented
from src.MOIRA import DifferentialEquation, i, k, n
k
is an index, so either you can import it from src.MOIRA
or locally define your own sympy symbol and use it in indices
k = symbols('k')