Questions tagged [error-tracking]

The tag has no usage guidance.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
201 views

Adding an attribute crashes the system?

At some point I noticed the following errors just in the documentation: And not only this one, this is not only for Manipulate, there were many others. Also the ...
4
votes
0answers
233 views

How can you link Parallel Mapping and Error tracking

Following this question and the comments made, together with the information in this question, the following code allows error tracking and debugging very nicely. ...
2
votes
0answers
84 views

Issues with symbolic integration

I am trying to do the following indefinite integral, ...
2
votes
0answers
111 views

How to find discretezation error of NDSolve

Is there a way to find out how large the truncation, round-off, and other errors that occur from discretizing a differential equation are while using the default settings in NDSolve? Or would I have ...
1
vote
0answers
32 views

"Show Stack Trace" option always missing from error context menu

According to the Wolfram Language documentation, there should be an option in the context menu to see the stack trace: But I never see that option in my context menus: Is there a specific global ...
1
vote
0answers
43 views

What do do if Mathematica stops without error messages?

I am trying to run the relatively simple code ...
1
vote
0answers
33 views

Why do I get the (NMinimize::nrnum) error and how to fix it?

I have an energy function which depends on the angles of the electrons({x} symbol for theta) and phase of electrons({y} symbol for phi). I am using NMinimize to minimize the energy with respect to {x}...
1
vote
0answers
52 views

Unexpected behaviour of SolveAlways

My problem is quite simple and I cannot spot if this is my mistake or some malfunction of mathematica. I am using ...
1
vote
0answers
30 views

spontaneously quitting kernel, assignment and packed arrays

I am having an issue where the kernel spontaneously quits, deep in a long code that I have used for quite some time without this issue. I've tracked it down to an assignment of the form: a[[All, All, ...
1
vote
0answers
90 views

Why is Mathematica saying this sequence tends to $0$?

I am a complete novice in Mathematica so please bear with me. I am trying to graph a sequence that converges to $\pi$ but after $27$ iterations Mathematica just goes crazy and I am not sure why. I got ...
1
vote
0answers
51 views

RegionPlot outputs System`ReduceDump`

I'm using Solve[] to find the solutions to a system of equations, then checking their stability in a Hessian using ...
1
vote
0answers
75 views

raise error on type mismatch

Is there a best practice for raising an error on a type mismatch? For compiled functions I'm guessing the answer is the use of GeneralUtilities`WithMessageHandler. ...
1
vote
0answers
580 views

Kernel shutting down automatically with no error

What are the possible reasons why a kernel exits and the computation simply stops without printing out an error message? In case the specific scenario is required, it is as follows but perhaps the ...
0
votes
0answers
48 views

Error in The Third Execution

I try to search the optimal solution of a large Problem using NMinimize and method Differential Evolution (DE). I call the NMinimze inside a loop with 100 iteration, and each time with different ...
0
votes
0answers
21 views

Rigorous upper bound on the absolute approximation error of an output of `NIntegrate`

Is there a way to use Mathematica to obtain a guaranteed, rigorous upper bound on the absolute approximation error of an output of NIntegrate (as an approximation ...
0
votes
0answers
111 views

Mathematica stops working with no warning/error

I have some long computations on my Mathematica notebook. For some reason they stop and Mathematica gives me no reason as to why. No warning. No erros. If run the "Initialization Lines" (...
0
votes
0answers
54 views

customisable error checking, message handling code

I have an iterated computation running in a while loop, which is bound to fail at some point, at which point I want it to stop, e.g. ...
0
votes
0answers
60 views

Errors with NIntegrate: NIntegrate::ncvb and NIntegrate::slwcon

The image shows the array (W) I'm trying to integrate. It gives the following errors: 1. NIntegrate::ncvb 2. NIntegrate::slwcon I tried excluding the singularity points; adjusting the accuracy goal, ...