Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 04d6ba72 authored by ulrich_y's avatar ulrich_y
Browse files

Bug fix in vegas export

parent 0d6f228a
No related branches found
No related tags found
No related merge requests found
......@@ -651,10 +651,10 @@ exporter[stream_OutputStream, {content__Rule}, intsize_Integer: 4] := Module[{
(* delta to array with OU bins *)
delta = Join[{1}, ConstantArray[delta, nrbins], {1}];
quant[[i ;; nrq nrbins + 2 ;; nrq]] = delta iteration histogram[[;; , 2]];
quant[[i ;; nrq (nrbins + 2) ;; nrq]] = delta iteration histogram[[;; , 2]];
If[And @@ EqualTo[0] /@ histogram[[;; , 3]],
quant[[nrq (nrbins + 2) + i ;; ;; nrq]] = quant[[i ;; nrq nrbins + 2 ;; nrq]]^2/iteration
quant[[nrq (nrbins + 2) + i ;; ;; nrq]] = quant[[i ;; nrq (nrbins + 2) ;; nrq]]^2/iteration
(*else*),
quant[[nrq (nrbins + 2) + i ;; ;; nrq]] = delta^2 iteration (
histogram[[;; , 3]]^2 (-1 + iteration) + histogram[[;; , 2]]^2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment