fix(octave): rename check() param to avoid shadowing built-in cond()

This commit is contained in:
allaun 2026-06-30 18:30:57 -05:00
parent 683af9a7df
commit 249179d922

View file

@ -1,8 +1,8 @@
% AVM ISA v1 Octave/MATLAB Test Harness
% Run with: cd octave && octave --no-gui test_avm.m
function check(cond, msg)
if cond; fprintf(stdout, " ✅ %s\n", msg);
function check(result, msg)
if result; fprintf(stdout, " ✅ %s\n", msg);
else; fprintf(stdout, " ❌ %s\n", msg); end
end