Skip to content

Commit

Permalink
fixed for pycbc error
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatz authored and mkatz committed Apr 1, 2023
1 parent 68457df commit dd4c1f5
Show file tree
Hide file tree
Showing 22 changed files with 1,885 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/BBHx/tags).

Current Version: 1.0.4
Current Version: 1.0.5

## Authors

Expand Down
3 changes: 2 additions & 1 deletion bbhx/waveformbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class TemplateInterpFD:

def __init__(self, use_gpu=False):

self.use_gpu = use_gpu
if use_gpu:
self.template_gen = InterpTDI_wrap_gpu
self.xp = xp
Expand Down Expand Up @@ -138,7 +139,7 @@ def __call__(

start_and_end = self.xp.asarray([freqs_shaped[:, 0], freqs_shaped[:, -1],]).T

if not isinstance(data_freqs, self.xp.ndarray):
if self.use_gpu and not isinstance(data_freqs, self.xp.ndarray):
raise ValueError("Make sure if using Cupy or Numpy, the input freqs array is of the same type.")

inds_start_and_end = self.xp.asarray(
Expand Down
Binary file modified docs/doctrees/README.doctree
Binary file not shown.
Binary file modified docs/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/doctrees/user/like.doctree
Binary file not shown.
Binary file modified docs/doctrees/user/main.doctree
Binary file not shown.
Binary file modified docs/doctrees/user/response.doctree
Binary file not shown.
Binary file modified docs/doctrees/user/utils.doctree
Binary file not shown.
Binary file modified docs/doctrees/user/waveforms.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ <h3>Versioning<a class="headerlink" href="#versioning" title="Permalink to this
<p>We use <a class="reference external" href="http://semver.org/">SemVer</a> for versioning. For the versions
available, see the <a class="reference external" href="https://github.com/mikekatz04/BBHx/tags">tags on this
repository</a>.</p>
<p>Current Version: 1.0.4</p>
<p>Current Version: 1.0.5</p>
</section>
<section id="authors">
<h3>Authors<a class="headerlink" href="#authors" title="Permalink to this heading"></a></h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_sources/README.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ We use `SemVer <http://semver.org/>`__ for versioning. For the versions
available, see the `tags on this
repository <https://github.com/mikekatz04/BBHx/tags>`__.

Current Version: 1.0.4
Current Version: 1.0.5

Authors
-------
Expand Down
352 changes: 347 additions & 5 deletions docs/html/genindex.html

Large diffs are not rendered by default.

128 changes: 122 additions & 6 deletions docs/html/index.html

Large diffs are not rendered by default.

Binary file modified docs/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/searchindex.js

Large diffs are not rendered by default.

224 changes: 223 additions & 1 deletion docs/html/user/like.html

Large diffs are not rendered by default.

288 changes: 287 additions & 1 deletion docs/html/user/main.html

Large diffs are not rendered by default.

269 changes: 268 additions & 1 deletion docs/html/user/response.html

Large diffs are not rendered by default.

266 changes: 265 additions & 1 deletion docs/html/user/utils.html

Large diffs are not rendered by default.

367 changes: 366 additions & 1 deletion docs/html/user/waveforms.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/source/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ We use `SemVer <http://semver.org/>`__ for versioning. For the versions
available, see the `tags on this
repository <https://github.com/mikekatz04/BBHx/tags>`__.

Current Version: 1.0.4
Current Version: 1.0.5

Authors
-------
Expand Down

0 comments on commit dd4c1f5

Please sign in to comment.