From 1318006959f00dd733b91963a24aaebd72055a7f Mon Sep 17 00:00:00 2001 From: Jonathan Rampersad Date: Tue, 28 Oct 2025 15:42:34 +0000 Subject: [PATCH] v0.5.1-dev (#20) Reviewed-on: https://gitea.jono-rams.work/jono/PolySolve/pulls/20 Co-authored-by: Jonathan Rampersad Co-committed-by: Jonathan Rampersad --- pyproject.toml | 2 +- src/polysolve/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d078e9a..e4b1379 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] # --- Core Metadata --- name = "polysolve" -version = "0.5.0" +version = "0.5.1" authors = [ { name="Jonathan Rampersad", email="jonathan@jono-rams.work" }, ] diff --git a/src/polysolve/__init__.py b/src/polysolve/__init__.py index 733090c..e1ddd05 100644 --- a/src/polysolve/__init__.py +++ b/src/polysolve/__init__.py @@ -713,7 +713,7 @@ if __name__ == '__main__': # --- Root Finding --- # 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 # 2. Genetic algorithm solution