Skip to content

Commit f3bae63

Browse files
committed
Minor bug fixes
1 parent b6e892a commit f3bae63

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/biogears/libBiogears/include/biogears/cdm/patient/actions/SEBurnWound.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ class BIOGEARS_API SEBurnWound : public SEPatientAction {
5555
bool HasDegreeOfBurn() const;
5656
CDM::enumBurnDegree::value GetDegreeOfBurn() const;
5757
void SetDegreeOfBurn(CDM::enumBurnDegree::value value);
58-
void SEBurnWound::SetTimeOfBurn(double burnTime);
59-
double SEBurnWound::GetTimeOfBurn() const;
58+
void SetTimeOfBurn(double burnTime);
59+
double GetTimeOfBurn() const;
6060

6161
double GetBurnIntensity() const;
6262

projects/biogears/libBiogears/src/engine/Controller/BioGearsEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ bool BioGearsEngine::ProcessAction(const SEAction& action)
766766
if (serialize->GetType() == CDM::enumSerializationType::Save) {
767767
if (serialize->HasFilename()) {
768768
if (filesystem::is_directory(serialize->GetFilename()) || (filesystem::is_directory("states/" + serialize->GetFilename()))) {
769-
SaveStateToFile(asprintf("%s%s@%.0fs.xml", serialize->GetFilename(), m_Patient->GetName().c_str(), GetSimulationTime(TimeUnit::s)));
769+
SaveStateToFile(asprintf("%s%s@%.0fs.xml", serialize->GetFilename().c_str(), m_Patient->GetName().c_str(), GetSimulationTime(TimeUnit::s)));
770770
} else {
771771
SaveStateToFile(serialize->GetFilename());
772772
}

0 commit comments

Comments
 (0)