Skip to content

Commit

Permalink
Merge pull request #88 from Faezehabibi/refactor-odes
Browse files Browse the repository at this point in the history
typo fixed in __main__
  • Loading branch information
rxng8 authored Dec 10, 2024
2 parents 0782fa6 + 8b2730a commit 9a3ce0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ngclearn/utils/diffeq/odes.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ def oscillator(t, x, params, mu1=0.05, mu2=-0.01, omega=3.0, alpha=-2.0, beta=-5

if __name__ == "__main__":
import matplotlib.pyplot as plt
from ngclearn.utils.diffeq.ode_utils_scanner import solve_ode
from ngclearn.utils.diffeq.ode_solver import solve_ode


t0 = 0.
dt = 0.01
Expand Down

0 comments on commit 9a3ce0e

Please sign in to comment.