mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
fix(octave): rename check() param to avoid shadowing built-in cond()
This commit is contained in:
parent
683af9a7df
commit
249179d922
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue