phasetransition's People
phasetransition's Issues
numba: Invalid use of BoundFunction
If I execute my code, i get the following error statement. I guess it's a problem concerning my variable types, but as the wolff_update function works with a "growing list" i don't know how to replace the wolff_list.append([row,col]) at line 41.
Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of BoundFunction(list.append for list(float64)) with parameters (list(int64))
- parameterized
[1] During: resolving callee type: BoundFunction(list.append for list(float64))
[2] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (41)File "MC_Metropolis_Wolff.py", line 41:
def wolff_update(grid,row,col,beta,wolff_list):
[1] During: resolving callee type: type(CPUDispatcher(<function wolff_update at 0x000001A0CF61E0D8>))
[2] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (63)[3] During: resolving callee type: type(CPUDispatcher(<function wolff_update at 0x000001A0CF61E0D8>))
[4] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (63)File "MC_Metropolis_Wolff.py", line 63:
def wolff(beta,grid):
[1] During: resolving callee type: type(CPUDispatcher(<function wolff at 0x000001A0CDF820D8>))
[2] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (80)[3] During: resolving callee type: type(CPUDispatcher(<function wolff at 0x000001A0CDF820D8>))
[4] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (82)[5] During: resolving callee type: type(CPUDispatcher(<function wolff at 0x000001A0CDF820D8>))
[6] During: typing of call at C:\Users\Joshua\Desktop\intro_to_comp_phys2\MC_Metropolis_Wolff.py (80)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.