Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cprobability #65

Open
emsutti opened this issue Mar 11, 2021 · 0 comments
Open

cprobability #65

emsutti opened this issue Mar 11, 2021 · 0 comments

Comments

@emsutti
Copy link

emsutti commented Mar 11, 2021

Please fill in the following details as much as possible when submitting your issue as this will help with testing and reproducing the issue

Environment Information

{
"python version info": "sys.version_info(major=2, minor=7, micro=9, releaselevel='final', serial=0)",
"num_threads": 8,
"python version": "2.7.9 (default, Sep 14 2019, 20:00:08) \n[GCC 4.9.2]",
"c_extensions present": [
"cmarkov_chain_monte_carlo",
"cprobability",
"cmoment_tensor_conversion",
"cscatangle"
],
"platform": "linux2",
"dependency info": {
"cython": "0.29.21",
"pyqsub": "unknown",
"scipy": "0.14.0",
"numpy": "1.16.6",
"matplotlib": "1.4.2"
},
"version": "1.0.5"
}

What error you are getting

ERROR:MTfit.probability:Error running cython code
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/MTfit/probability/probability.py", line 871, in ln_marginalise
return cprobability.ln_marginalise(ln_pdf.astype(np.float64))
File "src/MTfit/probability/cprobability.pyx", line 130, in MTfit.probability.cprobability.ln_marginalise
ValueError: Buffer has wrong number of dimensions (expected 2, got 1)
ERROR:MTfit.probability:Error running cython code
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/MTfit/probability/probability.py", line 1269, in exp
return cprobability.ln_exp(self._ln_pdf)
File "src/MTfit/probability/cprobability.pyx", line 1817, in MTfit.probability.cprobability.ln_exp
ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

What behaviour you would expect

Solve the issue

Reproduction steps

This issue comes up once inversion has started and it's blocking solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant