fix bug for computation of reference_position

function now is static
8 jobs for Progressive_Embedding in 7 minutes and 35 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed clang-c++11 #103768
Linux

00:03:36

failed CoMISo-VS2013-Qt-5.5.1-x64 #105916
VS2013 Qt551

00:01:18

passed CoMISo-VS2017-Qt-5.10.1-x64 #103771
VS2017 IPOPT3129

00:01:12

passed gcc-c++11 #103767
Linux

00:06:16

passed macos-c++11 #103769
Apple

00:02:45

failed CoMISo-VS2013-Qt-5.5.1-x64 #104233
Qt551 VS2013

00:01:02

failed CoMISo-VS2013-Qt-5.5.1-x64 #103770
VS2013 Qt551

00:01:00

 
  Deploy
skipped trigger_build #103772
 
Name Stage Failure
failed
CoMISo-VS2013-Qt-5.5.1-x64 Test
19>  Building Custom Rule E:/gitlab/builds/jYir6YD5/0/CoMISo/CoMISo/CMakeLists.txt
19>
19>Build succeeded.
19>
19>Time Elapsed 00:00:00.09
========== Build: 2 succeeded, 17 failed, 0 up-to-date, 0 skipped ==========

E:\gitlab\builds\jYir6YD5\0\CoMISo\CoMISo\rel>IF 1 NEQ 0 exit /b 1
ERROR: Job failed: exit status 1