Hi Hans-Peter,
thanks, fixed in *SVN 1873*.
Best Regards,
Juergen
On 5/21/25 23:37, Hans-Peter Sorge wrote:
Hi Jürgen,
the stack trace is gone.
however:
/⍝ The scan each on an empty vector returns a DOMAIN ERROR. /
*+/¨0⍴0*
DOMAIN ERROR
+/¨0⍴0
^ ^
/⍝ This makes the following expressions inconsistent:/
*+/¨(1 2) (3 4)*
3 7
*+/¨0 1/ (1 2) (3 4)*
7
/⍝ Result should be empty./
*+/¨0 0/ (1 2) (3 4)*
DOMAIN ERROR
+/¨0 0/(1 2) (3 4)
^ ^
Best Regards
Hans-Peter
Am 21.05.25 um 16:44 schrieb Dr. Jürgen Sauermann:
Hi Hans-Peter,
thanks, fixed in *SVN 1872*.
Best Regards,
Jürgen
On 5/20/25 11:39, Hans-Peter Sorge wrote:
Hi,
various operators (+,-,⌊,....) stack trace on *(⊂1 1)+¨0/1 *
(it's ¨ (each) again)
/⍝ Expected/
* ⍴(⊂1 1)+0/1*
0
*+(⊂1 1)+0/1*
/⍝ Left operator stack traces (as does power too //*((⊂1 1)+¨0/1)*1 )*/
*⍴(⊂1 1)+¨0/1*
0
* + (⊂1 1)+¨0/1*
==============================================================================
Assertion failed: 0 && "Cell::init_other() called on base class"
in Function: init_other
in file: Cell.hh:67
C/C++ call stack:
----------------------------------------
-- Stack trace at Assert.cc:75
----------------------------------------
0x7fee334116a8 __libc_start_main
0x7fee334115f5
0x4287af main
0x5f5445 Workspace::immediate_execution(bool)
0x4920e7 Command::process_line()
0x492a51 Command::finish_context()
0x49f6a6 Executable::execute_body() const
0x5763b0 StateIndicator::run()
0x4df1cd Prefix::reduce_statements()
0x4dce2e Prefix::reduce_MISC_F_B_()
0x572034 Bif_F12_PLUS::eval_B(Value_P) const
0x56d6d3 ScalarFunction::eval_scalar_B(Value_P, ErrorCode
(Cell::*)(Cell*) const) const
0x56b42e ScalarFunction::do_eval_fill_B(Value_P) const
0x5ed69d Value::to_type(bool)
0x5ed48d Value::clone(char const*) const
0x472efd
0x4436cc do_Assert(char const*, char const*, char
const*, int)
========================================
========================================
SI stack:
Depth: 0
Exec: 0x4062f90
Safe exec: 0
Pmode: ◊ +(⊂1 1)+¨0/1
PC: 11 (12) RETURN_STATS
Stat: +(⊂1 1)+¨0/1
err_code: 0x0
==============================================================================
APL SVN: 1870:1871M
Fedora : 6.14.6-300.fc42.x86_64
Best Regards
Hans-Peter