diff --git a/CHANGELOG.md b/CHANGELOG.md index 9046fbe0bac096d1c862244ca5d7ddbb32925856..e722208179f70229d827fdb618ec75ab670fa9f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,4 @@ -## Version 1.2.0 +## Version 1.2.2 -* Compile with language C by default. -* Added command line options, seen with `compile-gvec-tp -h` -* The "--compiler" option can now take the four compilers available in pyccel ("GNU" is the default, "intel", "PGI", "nvidia"). -Moreover, a JSON file can be specified to define a custom compiler (see pyccel doc). \ No newline at end of file +* In 1.2.1 the option `flat_eval` was added for marker evaluation. +* Return a numpy contiguous array from `GVEC.transform()`. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ec1e99442bd25b9724ad4fb327dc34248aff9c83..92631cd9e61f59e2f03035582fc8a379f2509ef2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "gvec-to-python" -version = "1.2.1" +version = "1.2.2" readme = "README.md" requires-python = ">=3.7" license = {file = "LICENSE"} diff --git a/src/gvec_to_python/GVEC_functions.py b/src/gvec_to_python/GVEC_functions.py index f1474b382b9ee485d903a3f4f96c35b060a11c5d..2fadee1c4fe774a1ce4b25ac820df32e292288f8 100644 --- a/src/gvec_to_python/GVEC_functions.py +++ b/src/gvec_to_python/GVEC_functions.py @@ -868,6 +868,6 @@ class GVEC: out = matT @ b else: out = mat @ b - out = GVEC_domain.finalize_batch_vector(out) + out = np.ascontiguousarray(GVEC_domain.finalize_batch_vector(out)) return out[0], out[1], out[2]