Skip to content

Commit

Permalink
rust: Add several fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jul 18, 2024
1 parent 7f055b2 commit 13bafbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ asv = ["asv-run", "asv-publish", "asv-preview"]
bump-version = { "shell" = "python crates/bump-versions.py $(git describe --tags)" }
compile = "pip install -e crates/eko/"
rdocs.cmd = "cargo doc --workspace --no-deps"
rdocs.env = { RUSTDOCFLAGS = "--html-in-header crates/katex-header.html" }
rdocs.env = { RUSTDOCFLAGS = "--html-in-header crates/doc-header.html" }
rdocs-view = "xdg-open target/doc/ekors/index.html"
rdocs-clean = "rm -rf target/doc/"
rtest = "cargo test --workspace"
Expand Down
4 changes: 2 additions & 2 deletions src/eko/evolution_operator/operator_matrix_element.py.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/eko/evolution_operator/operator_matrix_element.py b/src/eko/evolution_operator/operator_matrix_element.py
index 202fd18d..3bdabab7 100644
index 202fd18d..5b0716cf 100644
--- a/src/eko/evolution_operator/operator_matrix_element.py
+++ b/src/eko/evolution_operator/operator_matrix_element.py
@@ -1,11 +1,13 @@
Expand Down Expand Up @@ -222,7 +222,7 @@ index 202fd18d..3bdabab7 100644
+ cfg.mode1 = label[1]
+ # construct the low level object
+ func = LowLevelCallable(
+ ekors.lib.rust_quad_ker_ome, ekors.ffi.addressof(cfg)
+ ekors.lib.rust_quad_ker_qcd, ekors.ffi.addressof(cfg)
+ )
+ res = integrate.quad(
+ func,
Expand Down
2 changes: 1 addition & 1 deletion src/eko/evolution_operator/quad_ker.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def cb_quad_ker_ome(
A = sv.exponentiated.gamma_variation(A, order, nf, Lsv)

# TODO recover InversionMethod
backward_method = "exact"
backward_method = ""

# build the expansion in alpha_s depending on the strategy
ker = build_ome(A, order, as1, backward_method)
Expand Down

0 comments on commit 13bafbb

Please sign in to comment.