Skip to content

At least 1d central values for t0 predictions#1305

Merged
scarrazza merged 2 commits into
masterfrom
atleast1d
Jun 30, 2021
Merged

At least 1d central values for t0 predictions#1305
scarrazza merged 2 commits into
masterfrom
atleast1d

Conversation

@siranipour
Copy link
Copy Markdown
Contributor

This failed previously with ndata=1 because it was a np scalar

@siranipour siranipour requested a review from wilsonmr June 23, 2021 14:31
@siranipour
Copy link
Copy Markdown
Contributor Author

siranipour commented Jun 26, 2021

Okay this wasn't actually the problem I now realise. The reason for the crash in #1285 is actually because the t0_prediction is an np scalar, will edit this commit

@siranipour siranipour force-pushed the atleast1d branch 5 times, most recently from 6b57cce to cc7604d Compare June 26, 2021 15:07
@siranipour
Copy link
Copy Markdown
Contributor Author

I've added a test that fails on master with the same error message as #1285

@scarrazza scarrazza merged commit dc418d0 into master Jun 30, 2021
@scarrazza scarrazza deleted the atleast1d branch June 30, 2021 14:16
@Zaharid Zaharid added the enhancement New feature or request label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants