summaryrefslogtreecommitdiff
path: root/LocomotorPrimitivesManager.cpp
blob: d8ea4ed00b6bd03f8c676f7c29992ef3df3b9283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <OpenSim/OpenSim.h>

#include "LocomotorPrimitivesManager.h"

bool LocomotorPrimitivesManager::doIntegration(SimTK::State &s, int step, double dtFirst)
{
	// TODO possibly additional calculations
	//std::cout << "==> doIntegration" << std::endl;
	return OpenSim::Manager::doIntegration(s, step, dtFirst);
}

bool LocomotorPrimitivesManager::integrate(SimTK::State &s, double dtFirst)
{
	int step = 0;

	//std::cout << "==> integrate" << std::endl;

	s.setTime(getInitialTime());

	return doIntegration(s, step, dtFirst);
}
td colspan='2' class='sha1'>e2cb77db089796f163092326ca25512845df7a3a (patch) treed3ebd206afc735e0a6b3cb5ffe959774fd5d1e56 /drivers/net/ipvlan parentb92dacd45698e120104ff81066ceb534916090d9 (diff)
ipv4: Merge ip_local_out and ip_local_out_sk
It is confusing and silly hiding a parameter so modify all of the callers to pass in the appropriate socket or skb->sk if no socket is known. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipvlan')
-rw-r--r--drivers/net/ipvlan/ipvlan_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan_core.c b/drivers/net/ipvlan/ipvlan_core.c