antoinefalisse / solvemuscleredundancy_dev

Development branch of the muscle redundancy solver
3 stars 0 forks source link

Defining only one degree of freedom as input #23

Open TuurvdHave opened 5 years ago

TuurvdHave commented 5 years ago

If you only define one degree of freedom as input in the main file, the code will use time as input aswell. Chang size() to length() in getMuscleInfo.m line 122 will solve this.

ID_Header_inds=size(DOF_inds); ==> ID_Header_inds=length(DOF_inds);

MaartenAfschrift commented 5 years ago

Hi Tuur, Thanks for the bug report. I changed the function to function getMuscleInfo.m a few weeks ago and this should be fine now. I created a pull request. Can you review the new version. I'll add you as a reviewer

antoinefalisse commented 5 years ago

I think this issue is addressed in PR #24.