I've been having some problems with fitting such a simple function. I started doing it by Fit Wizard and typing y=ax and then just fit. It worked for some time, but now when I do this simple procedure the program freezes and after a minute window pops out with error message:
Error std::bad_alloc sending event 11QMouseEvent to object "11QPushButton"
What can I do about it? Is there some other way to fit y=ax?
Last edit: Jan Kemik 2018-11-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jan,
What version and operating system are you using?
Have you tried to change the fitting algorithm from the default one - Scaled Levenberg-Marquardt - to another like the Unscaled LM or Nelder-Mead simplex in order to see if this produce the same error?
By the way, you must have your reasons for trying to fit a linear function using simply y=ax. But the function y=ax+b must provide the same result for the value of 'a', within the uncertainty interval, of course.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been having some problems with fitting such a simple function. I started doing it by Fit Wizard and typing y=ax and then just fit. It worked for some time, but now when I do this simple procedure the program freezes and after a minute window pops out with error message:
Error std::bad_alloc sending event 11QMouseEvent to object "11QPushButton"
What can I do about it? Is there some other way to fit y=ax?
Last edit: Jan Kemik 2018-11-28
Hi Jan,
What version and operating system are you using?
Have you tried to change the fitting algorithm from the default one - Scaled Levenberg-Marquardt - to another like the Unscaled LM or Nelder-Mead simplex in order to see if this produce the same error?
By the way, you must have your reasons for trying to fit a linear function using simply y=ax. But the function y=ax+b must provide the same result for the value of 'a', within the uncertainty interval, of course.
I was using Fedora 28. It was a wierd bug. Changing the letter a to a1 made it work.
Well, solved problem