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

too few arguments in function call #9

Closed
chengcx1019 opened this issue Jul 3, 2017 · 2 comments
Closed

too few arguments in function call #9

chengcx1019 opened this issue Jul 3, 2017 · 2 comments

Comments

@chengcx1019
Copy link

Sorry to bother you.When run this command

luarocks make tfluids-1-00.rockspec

I only get the error FluidNet/torch/tfluids/generic/tfluids.cu(1882): error: too few arguments in function call.

So I find this line in file,like this

THCudaTensor_norm(state, tensor_pdelta_norm, tensor_pdelta, 2, 1);

Is there any change in function THCudaTensor_norm ?And I'am in trouble with finding the definition of THCudaTensor_norm.

@jonathantompson
Copy link
Collaborator

Sorry for the slow response. Did you figure out the issue?

@chengcx1019
Copy link
Author

Yes,some kind of yes.the problem was caused by the update of cuotch,you can see the update in this page.It seems nothing else is influenced by this update except the function THCudaTensor_norm(here,FluidNet/torch/tfluids/generic/tfluids.cu(1882)).I assumed 1for Ture and 0 for False ,so I pass 1 as the sixth parameter,is this right?

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

2 participants