Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline w3b5urf3r  
#1 Posted : 07 September 2011 07:40:17(UTC)
w3b5urf3r

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 Cloud


P.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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 07 September 2011 10:52:48(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

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!"
Offline w3b5urf3r  
#3 Posted : 08 September 2011 00:10:59(UTC)
w3b5urf3r

Rank: Newbie

Groups: Registered
Joined: 05/08/2011(UTC)
Posts: 4

Thank you very much, now all works! Biggrinancing:
Users browsing this topic
Guest
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.