So without the assert I have 1 working but 2 failing with the int32
scalar issue.

octave:9> pararrayfun (1, @ (x, y) x * y, [1, 2], "ChunksPerProc", 2, 
"CumFunc", @ (a, b) a + b), 40
error: int32 scalar cannot be indexed with {
error: called from
    parcellfun at line 206 column 25
    pararrayfun at line 85 column 28
octave:10> pararrayfun (1, @ (x, y) x * y, [1, 2], "ChunksPerProc", 1, 
"CumFunc", @ (a, b) a + b), 40
ans = 40

But that isn't a fix/workaround as "1" with the assert is
assert (res = pararrayfun (2, @ (x, y) x * y, [1, 2, 3, 4], [2, 3, 4, 5], 
"ChunksPerProc", 1, "CumFunc", @ (a, b) a + b), 40)
error: ASSERT errors for:  assert (res = pararrayfun (2, @(x, y)x * y, [1, 2, 
3, 4], [2, 3, 4, 5], "ChunksPerProc", 1, "CumFunc", @(a, b)a + b),40)

  Location  |  Observed  |  Expected  |  Reason
     ()           O            E         Class int32 != double

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911400

Title:
  autopkgtests broken in hirsute - error: int32 scalar cannot be indexed
  with .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1911400/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to