You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running a primality tester written in Rockstar, the generated file is erroring on this line (the_storm is in inputted value): if the_storm <= a_pair * a_pair: TypeError: '<=' not supported between instances of 'str' and 'int'
This seems to be because Python is treating the_storm as a string instead of an int.
The text was updated successfully, but these errors were encountered:
That's because weak typing is not oficially supported yet, according to rockstar specks. However, I'm going to solve that based on this PR. Thanks for pointing it out!
After running a primality tester written in Rockstar, the generated file is erroring on this line (the_storm is in inputted value):
if the_storm <= a_pair * a_pair: TypeError: '<=' not supported between instances of 'str' and 'int'
This seems to be because Python is treating the_storm as a string instead of an int.
The text was updated successfully, but these errors were encountered: