Skip to content

Commit 1bb18eb

Browse files
committed
readdocs
1 parent 9f19c5c commit 1bb18eb

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.12"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
18+
# Build documentation in the "docs/" directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# Optionally build your docs in additional formats such as PDF and ePub
23+
# formats:
24+
# - pdf
25+
# - epub
26+
27+
# Optional but recommended, declare the Python requirements required
28+
# to build your documentation
29+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30+
# python:
31+
# install:
32+
# - requirements: docs/requirements.txt

src/spinwalk.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ bool run(simulation_parameters param, std::map<std::string, std::vector<std::str
258258

259259
std::vector<float> TE;
260260
for(int i=0; i<param.n_TE; i++) TE.push_back(param.TE_us[i]*param.timestep_us*1e-6);
261-
TE.push_back(param.TR_us*param.timestep_us*1e-6);
261+
TE.push_back(param.TR_us*1e-6);
262262
dims[0] = TE.size(); dims[1] = 1; dims[2] = 1; dims[3] = 1;
263263
file_utils::save_h5(f, TE.data(), dims, "TE", "float");
264264
}

0 commit comments

Comments
 (0)