Skip to content

Commit

Permalink
Minor: updated AppVeyor CI QT paths, fixed PR template and Method_MC.
Browse files Browse the repository at this point in the history
  • Loading branch information
GPMueller committed May 28, 2018
1 parent 5222b01 commit fe22b3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ environment:
PYPI:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
configuration: Release
QTDIR: "C:\\Qt\\5.8\\msvc2015_64"
QTDIR: "C:\\Qt\\5.10.1\\msvc2015_64"
PYTHON: "C:\\Python36-x64"
EXCLUDETESTS:
PYPI:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
configuration: Debug
QTDIR: "C:\\Qt\\5.8\\msvc2015_64"
QTDIR: "C:\\Qt\\5.10.1\\msvc2015_64"
PYTHON: "C:\\Python36-x64"
EXCLUDETESTS: solver
PYPI:
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### First time contributor checklist
<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->
- [ ] I have read the [README](https://github.com/spirit-code/spirit/blob/develop/README.md)
- [ ] I have read the [CONTRIBUTING](https://github.com/spirit-code/spirit/blob/develop/CONTRIBUTING.md) document
- [ ] I have read the [CONTRIBUTING](https://github.com/spirit-code/spirit/blob/develop/docs/CONTRIBUTING.md) document

### Contributor checklist
<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->
Expand Down
2 changes: 1 addition & 1 deletion core/src/engine/Method_MC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace Engine
this->n_rejected = 0;
int nos = spins_new.size();
auto distribution = std::uniform_real_distribution<scalar>(0, 1);
auto distribution_idx = std::uniform_int_distribution<>(0, nos);
auto distribution_idx = std::uniform_int_distribution<>(0, nos-1);
scalar kB_T = Constants::k_B * this->parameters_mc->temperature;

scalar diff = 0.01;
Expand Down

0 comments on commit fe22b3a

Please sign in to comment.