close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 20 years ago

Last modified 18 years ago

#184 closed defect (fixed)

A "white" character is included in FormatPolyn function

Reported by: imendez Owned by: manuelb
Priority: normal Milestone:
Component: Text Version: head
Severity: minor Keywords:
Cc:

Description

This code:


Polyn p = 1-0.1033683273*B;
Text f = FormatPolyn(p);

returns the next result:

f == " 1.0000000000-0.1033683273*B"

I think it would be better that 'f' doesn't contain "white" characters.

Change History (4)

comment:1 Changed 20 years ago by manuelb

Owner: changed from danirus to manuelb
Severity: enhancementminor
Version: undefinedcvs

comment:2 Changed 20 years ago by manuelb

Status: newassigned

comment:3 Changed 20 years ago by manuelb

Resolution: fixed
Status: assignedclosed

Done!
When Polyn class encountered a "+" character, it just replaced it with a space.
Now it simply doesn't create that space.

comment:4 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000100
Note: See TracTickets for help on using tickets.