Skip to content

Commit 60f3af1

Browse files
authored
Merge pull request #391 from jcapriot/v0.11.2_staging
v0.11.2 staging
2 parents 314a675 + 5eaa607 commit 60f3af1

File tree

5 files changed

+50
-8
lines changed

5 files changed

+50
-8
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2024 SimPEG Developers
3+
Copyright (c) 2013-2025 SimPEG Developers
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

docs/_static/versions.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
"url": "https://discretize.simpeg.xyz/en/main/"
55
},
66
{
7-
"name": "0.11.1 (stable)",
8-
"version": "v0.11.1",
9-
"url": "https://discretize.simpeg.xyz/en/v0.11.1/",
7+
"name": "0.11.2 (stable)",
8+
"version": "v0.11.2",
9+
"url": "https://discretize.simpeg.xyz/en/v0.11.2/",
1010
"preferred": true
1111
},
12+
{
13+
"name": "0.11.1",
14+
"version": "v0.11.1",
15+
"url": "https://discretize.simpeg.xyz/en/v0.11.1/"
16+
},
1217
{
1318
"name": "0.11.0",
1419
"version": "v0.11.0",

docs/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from datetime import datetime
1818
from packaging.version import parse
1919
import discretize
20-
from sphinx_gallery.sorting import FileNameSortKey
2120
import shutil
2221
from importlib.metadata import version
2322

@@ -499,13 +498,12 @@ def linkcode_resolve(domain, info):
499498
"tutorials/inner_products",
500499
"tutorials/pde",
501500
],
502-
"within_subsection_order": FileNameSortKey,
501+
"within_subsection_order": "FileNameSortKey",
503502
"filename_pattern": "\\.py",
504503
"backreferences_dir": "api/generated/backreferences",
505504
"doc_module": "discretize",
506-
# 'reference_url': {'discretize': None},
505+
"image_scrapers": ("pyvista", "matplotlib"),
507506
}
508-
sphinx_gallery_conf["image_scrapers"] = (pyvista.Scraper(), "matplotlib")
509507

510508

511509
# Documents to append as an appendix to all manuals.

docs/release/0.11.2-notes.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.. currentmodule:: discretize
2+
3+
.. _0.11.2_notes:
4+
5+
===================================
6+
``discretize`` 0.11.2 Release Notes
7+
===================================
8+
9+
January 28, 2025
10+
11+
This is a bugfix release for discretize with some minor updates.
12+
13+
Updates
14+
=======
15+
16+
Fixed Bugs
17+
----------
18+
* ``is_scalar`` will now return true for any numpy array broadcastable as a scalar (any array with ``arr.size == 1``).
19+
* Explicitly set diagonal balancing on internal plotting and reading routines that build a ``TreeMesh``.
20+
* Fixes formatting across line breaks in new warnings.
21+
* the ``Zero`` and ``Identity`` classes now return expected truthiness values: ``bool(Zero()) == False`` and ``bool(Identity()) == True``.
22+
23+
24+
Contributors
25+
============
26+
* @jcapriot
27+
* @santisoler
28+
* @prisae
29+
30+
Pull requests
31+
=============
32+
33+
* improve scalar test to handle arbitrary dimensional ndarrays by @jcapriot in `#388 <https://github.com/simpeg/discretize/pull/388>`__.
34+
* Set no diagonal balance when reading UBC tree meshes by @santisoler in `#386 <https://github.com/simpeg/discretize/pull/386>`__
35+
* Fix small typos in diagonal_balance warning by @santisoler in `#387 <https://github.com/simpeg/discretize/pull/387>`__
36+
* Implement truthiness for Zero and Identity by @jcapriot in `#389 <https://github.com/simpeg/discretize/pull/389>`__
37+
* Fix formatting new warning by @prisae in `#390 <https://github.com/simpeg/discretize/pull/390>`__
38+
* v0.11.2 staging @jcapriot in `#391 <https://github.com/simpeg/discretize/pull/390>`__

docs/release/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release Notes
44
.. toctree::
55
:maxdepth: 2
66

7+
0.11.2 <0.11.2-notes>
78
0.11.1 <0.11.1-notes>
89
0.11.0 <0.11.0-notes>
910
0.10.0 <0.10.0-notes>

0 commit comments

Comments
 (0)