Skip to main content
16-Pearl
July 21, 2017
Solved

Programming error: row limits? bug?

  • July 21, 2017
  • 1 reply
  • 2009 views

This seems odd. I'm using a program to drop values into matrices.  It works wonderfully - until I get to a matrix 16 items long.  Then I get an error.  

2017-07-21_14-25-43.png

Here's a rather pointless example.  Suffice it to say it happens regardless of how many variables I return, or whether or not I use a matrix inside the program.  Tried it a bunch of ways to only get the same result: Exceed 16 rows and get an error.

This version works fine:

2017-07-21_14-36-44.png

 

 

And here's the same thing with one more row (r[i)

2017-07-21_14-30-33.png

 

 Thoughts? 4.0 attached.

Thanks,

Best answer by Werner_E

 Suffice it to say it happens regardless of how many variables I return, or whether or not I use a matrix inside the program.

What do you mean by this? Using a matrix works fine:

Pic1.png

But otherwise I can only confrim that I experience the very same error in Prime 3.0, too. Was too lazy so far to give it a try in Mathcad 15.

I would call it a bug and here is a workaround (don't ask me why it works or why it fails when we assign the result to a vector):

Pic2.png

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
July 21, 2017

 Suffice it to say it happens regardless of how many variables I return, or whether or not I use a matrix inside the program.

What do you mean by this? Using a matrix works fine:

Pic1.png

But otherwise I can only confrim that I experience the very same error in Prime 3.0, too. Was too lazy so far to give it a try in Mathcad 15.

I would call it a bug and here is a workaround (don't ask me why it works or why it fails when we assign the result to a vector):

Pic2.png

DJF16-PearlAuthor
16-Pearl
July 21, 2017

>What do you mean by this? Using a matrix works fine:

I meant that I had set it up so [ a b c d...] <- matrix (ie. a, b, c, d were in a matrix.  I also tried it typing everything in row by row (e.g. a[i <- matrix[0).  More typing, same result.  Or that if I returned all variables (a..q) I got the same results as (a,b,q) only.  Things that shouldn't (and don't) matter.  

But all that doesn't matter now.

The workaround seems to fix it.  You've saved my weekend.  Hooray. 

 

Thanks again.

 

25-Diamond I
July 21, 2017

OK - I was curious and tried in MC15. No Problem!

So its a new bug by PTC Prime.

Pic.png