runOndselPiston, runPiston execute correctly

This commit is contained in:
Aik-Siong Koh
2023-06-30 19:48:30 -06:00
parent c30ee64b89
commit cb27f2344b
154 changed files with 2786 additions and 1605 deletions

View File

@@ -3,11 +3,11 @@
using namespace MbD;
MbD::IndependentVariable::IndependentVariable()
IndependentVariable::IndependentVariable()
{
}
Symsptr MbD::IndependentVariable::differentiateWRT(Symsptr sptr, Symsptr var)
Symsptr IndependentVariable::differentiateWRT(Symsptr sptr, Symsptr var)
{
if (this == var.get()) {
return std::make_shared<Constant>(1.0);