Skip to content

Commit

Permalink
v0.11.2 staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Jan 28, 2025
1 parent 314a675 commit 6cf9979
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2024 SimPEG Developers
Copyright (c) 2013-2025 SimPEG Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
11 changes: 8 additions & 3 deletions docs/_static/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
"url": "https://discretize.simpeg.xyz/en/main/"
},
{
"name": "0.11.1 (stable)",
"version": "v0.11.1",
"url": "https://discretize.simpeg.xyz/en/v0.11.1/",
"name": "0.11.2 (stable)",
"version": "v0.11.2",
"url": "https://discretize.simpeg.xyz/en/v0.11.2/",
"preferred": true
},
{
"name": "0.11.1",
"version": "v0.11.1",
"url": "https://discretize.simpeg.xyz/en/v0.11.1/"
},
{
"name": "0.11.0",
"version": "v0.11.0",
Expand Down
45 changes: 45 additions & 0 deletions docs/release/0.11.2-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.. currentmodule:: discretize

.. _0.11.2_notes:

===================================
``discretize`` 0.11.2 Release Notes
===================================

January 28, 2025

This is a bugfix release for discretize with some minor updates.

Updates
=======

Warning Messages
----------------
* Added warning messages to test functions using uncontrolled randomized input that appear when run under
`pytest` or `nosetest`, alerting the user to non-repeatable tests.
* Changed the default for ``plotIt`` argument to ``False`` for testing functions.

Fixed Bugs
----------
* `is_scalar` will now return true for any numpy array broadcastable as a scalar (any array with ``arr.size == 1``).
* Explicitly set diagonal balancing on internal plotting and readin routines that build a ``TreeMesh``.
* Fixes formatting across line breaks in new warnings.
* the `Zero` and `Identity` class now return expected truthiness values: ``bool(Zero()) == false`` and ``bool(Identity()) == True``.



Contributors
============
* @jcapriot
* @santisoler
* @prisae

Pull requests
=============

* improve scalar test to handle arbitrary dimensional ndarrays by @jcapriot in `#388 <https://github.com/simpeg/discretize/pull/388>`__.
* Set no diagonal balance when reading UBC tree meshes by @santisoler in `#386 <https://github.com/simpeg/discretize/pull/386>`__
* Fix small typos in diagonal_balance warning by @santisoler in `#387 <https://github.com/simpeg/discretize/pull/387>`__
* Implement truthiness for Zero and Identity by @jcapriot in `#389 <https://github.com/simpeg/discretize/pull/389>`__
* Fix formatting new warning by @prisae in `#390 <https://github.com/simpeg/discretize/pull/390>`__
* v0.11.2 staging @jcapriot in `#391 <https://github.com/simpeg/discretize/pull/390>`__
1 change: 1 addition & 0 deletions docs/release/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Release Notes
.. toctree::
:maxdepth: 2

0.11.2 <0.11.2-notes>
0.11.1 <0.11.1-notes>
0.11.0 <0.11.0-notes>
0.10.0 <0.10.0-notes>
Expand Down

0 comments on commit 6cf9979

Please sign in to comment.