Skip to content

Commit d462bb7

Browse files
committed
whitespace and note addition
1 parent a7517a5 commit d462bb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pycse/PYCSE.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ def bic(x, y, model, popt):
352352
353353
https://en.wikipedia.org/wiki/Bayesian_information_criterion#Gaussian_special_case
354354
"""
355-
356355
n = len(y)
357356
k = len(popt)
358357
rss = np.sum((model(x, *popt) - y) ** 2)
@@ -373,7 +372,6 @@ def lbic(X, y, popt):
373372
-------
374373
BIC : float
375374
"""
376-
377375
n = len(y)
378376
k = len(popt)
379377
rss = np.sum((X @ popt - y) ** 2)
@@ -385,6 +383,9 @@ def lbic(X, y, popt):
385383
def ivp(f, tspan, y0, *args, **kwargs):
386384
"""Solve an ODE initial value problem.
387385
386+
This provides some convenience defaults that I think are better than
387+
solve_ivp.
388+
388389
Parameters
389390
----------
390391
f : function

0 commit comments

Comments
 (0)