Menu

#256 Add some more operations to State

0.4
done
nobody
None
nobody
2024-08-16
2024-08-09
Ulf Lorenz
No

It turned out that adding/subtracting a constant to a state is occasionally quite convenient.

  • Add an operator+(State, double) and the corresponding operator-
  • Replace code where this is currently worked around

Did not find a good position where this is used, but the implementation was cheap enough, so I did it nevertheless.

Discussion

  • Ulf Lorenz

    Ulf Lorenz - 2024-08-09
    • status: open --> assigned
    • assigned_to: Ulf Lorenz
     
  • Ulf Lorenz

    Ulf Lorenz - 2024-08-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,3 +2,7 @@
    
     * Add an operator+(State, double) and the corresponding operator-
     * Replace code where this is currently worked around
    +
    +----
    +
    +Did not find a good position where this is used, but the implementation was cheap enough, so I did it nevertheless.
    
    • status: assigned --> done
    • assigned_to: Ulf Lorenz --> nobody
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.