Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions corelib/src/libs/SireIO/biosimspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ namespace SireIO
}

// OPC
if (model == "OPC")
else if (model == "OPC")
{
double a = 0.1477224;

Expand Down Expand Up @@ -592,7 +592,7 @@ namespace SireIO
}

// OPC
if (model == "OPC")
else if (model == "OPC")
{
double a = 0.1477224;

Expand Down
2 changes: 1 addition & 1 deletion corelib/src/libs/SireMaths/complex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ namespace SireMaths
/** Subtraction */
Complex operator-(double x, const Complex &z)
{
return z - x;
return Complex(x) - z;
}

/** Multiplication */
Expand Down
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ organisation on `GitHub <https://github.com/openbiosim/sire>`__.
propagate several independent trajectories by swapping the energy trajectory and
simulation clock between blocks.

* Fixed the ``double - Complex`` subtraction operator in ``SireMaths::Complex``.

* Fixed a dangling ``else`` statement that caused ``setAmberWater`` and
``setGromacsWater`` to fail when using the TIP4P water model.

`2026.1.0 <https://github.com/openbiosim/sire/compare/2025.4.0...2026.1.0>`__ - June 2026
-----------------------------------------------------------------------------------------

Expand Down
Loading