- Notifications
You must be signed in to change notification settings - Fork14
Fix wrong array instantiation syntax#17
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Otherwise it throws `TypeError: Cannot convert 10 to System.Int32[]`Documented inpythonnet/pythonnet#788 andpythonnet/pythonnet#251
dnfadmin commentedNov 22, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
lostmsu commentedNov 23, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I think the sample is correct, and Python.NET itself needs to be fixed if this is not working. This code looks like it is supposed to create an array of 10
|
Published fix for Python.NET here:pythonnet/pythonnet#1291 |
Thank you for pushing the fix |
Otherwise it throws
TypeError: Cannot convert 10 to System.Int32[]
Documented inpythonnet/pythonnet#788 andpythonnet/pythonnet#251