| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
I have left some comments. I have a question, what is the gem that use this project to do the tests?
Sorry, something went wrong.
| { | ||
| complex double* input_elements = (complex double*)input->elements; | ||
| complex double sum = 0 + 0*I; | ||
| for(size_t index = 0; index < input->count; index++){ |
There was a problem hiding this comment.
I have seen that you have this cycle in each case of this condition, I think that you could move this in a function, WDYT?. Also I think that you could create a function that calcule this operation and in each case "cast" the response, but maybe this could be weird 🤔
Sorry, something went wrong.
| Data_Get_Struct(self, nmatrix, input); | ||
|
|
||
| VALUE result; | ||
|
|
There was a problem hiding this comment.
I think that this line isn't necessary
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added sum instance method in the elementwise module and associated tests in elementwise_test.