anujkhare / iregnet

7 stars 12 forks source link

Remove some calculated repeatedly and assigned inappropriate code #56

Closed RoverVan closed 5 years ago

RoverVan commented 7 years ago

Hello Mentor Khare, I found that some problem occured when I run the optimize branch. I analyze the code in iregnet_fit.cpp and I figure out that some variables was calculated repeatedly or assigned inappropriate.I have fixed them in this pull request and now the optimize branch run well and show it's optimizations apparently in the test result.