v0.5.1-dev #20

Merged
jono merged 2 commits from v0.5.1-dev into main 2025-10-28 15:42:34 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
# --- Core Metadata --- # --- Core Metadata ---
name = "polysolve" name = "polysolve"
version = "0.5.0" version = "0.5.1"
authors = [ authors = [
{ name="Jonathan Rampersad", email="jonathan@jono-rams.work" }, { name="Jonathan Rampersad", email="jonathan@jono-rams.work" },
] ]

View File

@@ -713,7 +713,7 @@ if __name__ == '__main__':
# --- Root Finding --- # --- Root Finding ---
# 1. Analytical solution for quadratic # 1. Analytical solution for quadratic
roots_analytic = quadratic_solve(f1) roots_analytic = f1.quadratic_solve()
print(f"Analytic roots of f1: {roots_analytic}") # Expected: -1, 2.5 print(f"Analytic roots of f1: {roots_analytic}") # Expected: -1, 2.5
# 2. Genetic algorithm solution # 2. Genetic algorithm solution