Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Bugs in Tuple, RemoveSorted and in Scribble Example
Bugs in Tuple, RemoveSorted and in Scribble Example [message #33389] Sun, 31 July 2011 11:32 Go to next message
busiek is currently offline  busiek
Messages: 64
Registered: February 2011
Location: Poland
Member
During a development of my project I encounter several bugs:
  1. (Actually, this is not in Core) In Scribble Example a drawing is shifted if one scrolls the view.
  2. Tuples (has anyone using it?) comparison operators < and > were copy&pasted from != Confused.
  3. RemoveSorted({1,2}, {0,3}) results in empty set Evil or Very Mad

I had to fix them. Patches are attached.

Especially the third bug was very annoying for me. Because my project has already grown to impressive size and its nature is algorithmic, I have searched the bug several hours. Thanks to this very long debug session I was able to understand my code much better Smile. Moreover, I found some minor bugs in my functions. Therefore, all in all, I was able to improve my project thanks to U++ Very Happy
Re: Bugs in Tuple, RemoveSorted and in Scribble Example [message #33390 is a reply to message #33389] Sun, 31 July 2011 14:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Patches applied, thank you. (P.S.: svn compatible format would be better Smile
Re: Bugs in Tuple, RemoveSorted and in Scribble Example [message #33393 is a reply to message #33390] Sun, 31 July 2011 18:09 Go to previous message
busiek is currently offline  busiek
Messages: 64
Registered: February 2011
Location: Poland
Member
mirek wrote on Sun, 31 July 2011 14:29

svn compatible format would be better Smile

What do you mean? The patches are generated by 'git format-patch'. To use them one may need add '-p1' option to 'patch' command.

I am using only git. I even track upp sources using git (git svn). Next time I will use '--no-prefix' option to 'git format-patch' and then the above problem should disappear.
Previous Topic: Add empty to STL_VECTOR_COMPATIBILITY
Next Topic: [DISCUSSION] Add 'complex' datatype, to Value too
Goto Forum:
  


Current Time: Fri Apr 19 23:46:08 CEST 2024

Total time taken to generate the page: 0.71059 seconds