Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit d8fd5dfe authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

Merge pull request #402 in VECTO/vecto-sim from...

Merge pull request #402 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-487-simulation-aborts-with-max-distance to develop

* commit '84ecdf29':
  move comment
  change check for end of pto cycle. relevant if pto cycle does not start at time 0
parents b3f79c60 84ecdf29
No related branches found
No related tags found
No related merge requests found
<!--
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--
This XSL transformation is intended to be applied as first canonicalization step when computing the hash
for VECTO component data or VECTO job data.
......@@ -15,9 +17,7 @@
- sort torque limiation entries
- sort gears
- sort axles
-->
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xsl:output omit-xml-declaration="no" indent="yes"/>
--> <xsl:output omit-xml-declaration="no" indent="yes"/>
<xsl:template match="*">
<xsl:element name="{local-name()}">
<xsl:apply-templates select="@*|node()"/>
......
......@@ -87,7 +87,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public Second GetNextCycleTime()
{
if (CycleIterator.LastEntry && AbsTime.IsEqual(CycleIterator.RightSample.Time)) {
if (CycleIterator.LastEntry && AbsTime.IsEqual(Duration)) {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment