Commit db5c9d75 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

restoring correct -0.5 // frames_accum[nSeq][i] *=-0.5; // By Claude on

05/11/2026: restore pre-fix amplitude (window fix doubled it)
parent c09cca3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2755,7 +2755,7 @@ public class CuasMotion {
					// may be faster if process only where vector_field[nseq][ntile] is not null
					// may be faster if process only where vector_field[nseq][ntile] is not null
					for (int nSeq = ai.getAndIncrement(); nSeq < frames_accum.length; nSeq = ai.getAndIncrement()) {
					for (int nSeq = ai.getAndIncrement(); nSeq < frames_accum.length; nSeq = ai.getAndIncrement()) {
						for (int i = 0; i < frames_accum[nSeq].length; i++) {
						for (int i = 0; i < frames_accum[nSeq].length; i++) {
							frames_accum[nSeq][i] *=-0.625; // By Claude on 05/11/2026: restore pre-fix amplitude (window fix doubled it)
							frames_accum[nSeq][i] *=-0.5; // By Claude on 05/11/2026: restore pre-fix amplitude (window fix doubled it)
							if (zero_fill && Double.isNaN(frames_accum[nSeq][i])){
							if (zero_fill && Double.isNaN(frames_accum[nSeq][i])){
								frames_accum[nSeq][i] = 0f;
								frames_accum[nSeq][i] = 0f;
							}
							}