Skip to content

Commit

Permalink
fixed in updtae params, closes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
SerLap authored and jsnel committed Feb 13, 2015
1 parent 829b865 commit fb8075c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public Transferable paste() throws IOException {

//update oscilation parameters if necessary, new model will have same oscpar as result object;
if (updParamPanel.isOscParSelected()) {

if (obj.tgm.getDat().getOscspecPanel().getOscspec().getStart().size() == results.getOscpar().length/2) {
for (int i = 0; i < results.getOscpar().length/2; i++) {
obj.tgm.getDat().getOscspecPanel().getOscspec().getStart().set(i, results.getOscpar()[i]);
Expand Down

0 comments on commit fb8075c

Please sign in to comment.