SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
function with trigonometric and square root bug
Rank: Newbie
Groups: Registered
Joined: 05/08/2011(UTC) Posts: 4
|
hello! writing a smath file for retaining walls design i've found a little bug; a square root inside a function return negative values! see below the example: Open in SMath CloudP.S. i'm working with last beta version: smath 0.89 beta 8 Edited by user 07 September 2011 07:55:49(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, Just disable Optimization in functions definition. Select the function definitions, right click Optimization|None or Numeric. Just hover the mouse over the regions before and after to see the difference. Here is the picture: This is not possible in Live version from this site. Btw, there were few reported problems with Symbolic optimization. I do not have the slightest idea what is the catch (in this case maybe the problem with trigonometric functions and multiple results combining with the reorganizing of expression) but the workaround about some suspicious results is to disable the Optimization of the problematic regions. Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 05/08/2011(UTC) Posts: 4
|
Thank you very much, now all works! ancing:
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
function with trigonometric and square root bug
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.