From 880ab9a8038f06c397c7803e3f4987695fec9bde Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 1 Aug 2018 20:11:10 +0200 Subject: Add support for non-power-of-2 sized grids. --- mg2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mg2d.h') diff --git a/mg2d.h b/mg2d.h index 3f9cbe7..405625a 100644 --- a/mg2d.h +++ b/mg2d.h @@ -226,7 +226,7 @@ typedef struct MG2DContext { * * @return The solver context on success, NULL on failure. */ -MG2DContext *mg2d_solver_alloc(size_t log2_gridsize); +MG2DContext *mg2d_solver_alloc(size_t domain_size); /** * Solve the equation, after all the required fields have been filled by the * caller. -- cgit v1.2.3