Comments (2)
Here, the problem is not actually with n_atoms
but rather with the min_dist
keyword argument. It was just added in a newer version of Molly. The problem will be solved once you update Molly using:
pkg> update Molly
from molly.jl.
To add to Jaydev's correct answer: you are right that Int64
is a subtype of Integer
but they are not equal. However the line function place_atoms(n_atoms::Integer ...)
basically means the same thing as function place_atoms(n_atoms::T ...) where T <: Integer
, with the second being useful if you need to use the type T
within the function. Hope that helps!
from molly.jl.
Related Issues (20)
- Molly needs a logo! HOT 4
- testing failure with CellListMap v0.8.3 HOT 4
- Symbol missing error when running documentation code HOT 1
- Molly Feature Parity List HOT 1
- System constructor cannot be found? HOT 3
- Automatic conversion to terminal N-terminal hydrogens HOT 4
- Precompilation error due to zygote.jl HOT 4
- Inconsistency with AtomsBase interface HOT 3
- GPU tests fail on GTX970 and P100 HOT 7
- Straight angle may produce NaNs in HarmonicAngle HOT 1
- Differentiable GPU kernels HOT 16
- FENE bond and Cosine angle potential HOT 3
- Error in Testing of Molly.jl HOT 3
- Precompilation error due to changes in Zygote.jl HOT 2
- Compilation failed for Julia 1.73 and 1.8 on Apple M1 chip HOT 5
- Wrapping the interactions in a structure. HOT 2
- Dead link in force.jl HOT 1
- Broken links in docs HOT 2
- `Mie` interaction gives `InexactError` due to the `convert` in constructor HOT 1
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.
from molly.jl.