ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | LICENSE

Commit: 359a77bc56b24ee9ca7dc690149f3ffdeeda2d7e
Parent: 86e6b80a569c9045196a602f749234168ae76ba1
Author: Randy Palamar
Date:   Fri,  2 May 2025 17:33:16 -0600

util: make_hadamard_transpose: use correct condition for capacity check

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -823,7 +823,7 @@ make_hadamard_transpose(Arena *a, u32 dim) iz elements = dim * dim; if (dim && (power_of_2 || multiple_of_12) && - arena_capacity(a, i32) >= elements * (1 + multiple_of_12)) + arena_capacity(a, i32) >= elements * (1 + !power_of_2)) { if (!power_of_2) dim /= 12; result = push_array(a, i32, elements);