diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index e52a1958..eb488695 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -60,4 +60,4 @@ jobs: uses: github/codeql-action/upload-sarif@v2 with: sarif_file: pylint.sarif - wait-for-processing: true \ No newline at end of file + wait-for-processing: true diff --git a/README.md b/README.md index 4d91ce38..b5f8c213 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ On macOS, you need to install [tensorflow-macos](https://github.com/apple/tensor ``` >>> import sionna >>> print(sionna.__version__) - 0.16.0 + 0.16.1 ``` 3.) Once Sionna is installed, you can run the [Sionna "Hello, World!" example](https://nvlabs.github.io/sionna/examples/Hello_World.html), have a look at the [quick start guide](https://nvlabs.github.io/sionna/quickstart.html), or at the [tutorials](https://nvlabs.github.io/sionna/tutorials.html). @@ -97,7 +97,7 @@ We recommend to do this within a [virtual environment](https://docs.python.org/3 ``` >>> import sionna >>> print(sionna.__version__) - 0.16.0 + 0.16.1 ``` ## License and Citation diff --git a/doc/source/installation.rst b/doc/source/installation.rst index e6746d38..841d1c07 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -39,7 +39,7 @@ e.g., using `conda `_. On macOS, you need to install `ten >>> import sionna >>> print(sionna.__version__) - 0.16.0 + 0.16.1 3.) Once Sionna is installed, you can run the `Sionna "Hello, World!" example `_, have a look at the `quick start guide `_, or at the `tutorials `_. @@ -111,4 +111,4 @@ e.g., using `conda `_. >>> import sionna >>> print(sionna.__version__) - 0.16.0 + 0.16.1 diff --git a/sionna/__init__.py b/sionna/__init__.py index beaf9b64..5591777e 100644 --- a/sionna/__init__.py +++ b/sionna/__init__.py @@ -5,7 +5,7 @@ """This is the Sionna library. """ -__version__ = '0.16.0' +__version__ = '0.16.1' from . import utils from .constants import * diff --git a/sionna/rt/utils.py b/sionna/rt/utils.py index dacd3144..e3ee7bc8 100644 --- a/sionna/rt/utils.py +++ b/sionna/rt/utils.py @@ -248,9 +248,7 @@ def dot(u, v, keepdim=False, clip=False): The last dimension is removed if ``keepdim`` is set to `False`. """ - res = tf.linalg.matvec(tf.expand_dims(u, -2), v) - if not keepdim: - res = tf.squeeze(res,axis=-1) + res = tf.reduce_sum(u*v, axis=-1, keepdims=keepdim) if clip: one = tf.ones((), u.dtype) res = tf.clip_by_value(res, -one, one)