Skip to content

Commit

Permalink
DEV: change currentEventEndTime
Browse files Browse the repository at this point in the history
  • Loading branch information
phorgue committed Jul 4, 2024
1 parent c55517c commit 4b64780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/toolsGIS/eventFile/eventFile.C
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Foam::scalar Foam::eventFile::currentEventStartTime() const
else return dates_[iterator_];
}

const Foam::scalar& Foam::eventFile::currentEventEndTime() const
Foam::scalar Foam::eventFile::currentEventEndTime() const
{
if (iterator_ < ndates_-1) return dates_[iterator_+1];
else return GREAT;
Expand Down
2 changes: 1 addition & 1 deletion libraries/toolsGIS/eventFile/eventFile.H
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public:
const scalar& currentValue(const label& id) const {return currentValues_[id];}
const scalarList& currentValues() const {return currentValues_;}
scalar currentEventStartTime() const;
const scalar& currentEventEndTime() const;
scalar currentEventEndTime() const;
void storeOldValues() {
oldOldValues_ = oldValues_;
oldValues_ = currentValues_;
Expand Down

0 comments on commit 4b64780

Please sign in to comment.