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

NMatrix#det_exact not working on :object dtype #496

Closed
translunar opened this issue Apr 7, 2016 · 1 comment
Closed

NMatrix#det_exact not working on :object dtype #496

translunar opened this issue Apr 7, 2016 · 1 comment

Comments

@translunar
Copy link
Member

t = N[[2,2],[3,4], dtype: :object]
t.det # Gives NotImplementedError, more or less as expected
t.det_exact
=> 
Cannot create ruby object
DataTypeError: Conversion to RubyObject requested from unknown/invalid data type (did you try to convert from a VALUE?)

I believe the problem is somewhere around

void det_exact(const int M, const void* A_elements, const int lda, void* result_arg) {

I recall seeing this type of error when an operator wasn't properly implemented on the RubyObject class, but I could be mistaken about that.

This issue blocks symengine/symengine.rb#36.

@translunar
Copy link
Member Author

@wlevine, does this look familiar to you at all?

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

No branches or pull requests

1 participant