commit | 0d4e3bd664d442b700fee2895c7a8ac37717dc08 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Aug 07 12:19:10 2014 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Aug 07 12:22:48 2014 -0700 |
tree | 3d781a636ad466f32aca258a17eacb15f718b246 | |
parent | cfb36463f9c1f806121779d651c7105ad899bb20 [diff] |
GradientCheckingProblem's parameter blocks are initialized correctly. Ensure that when a new problem object is constructed for validing gradients, the parameter blocks have their data pointers point to the user's parameter blocks. We used to do this inside solver_impl.cc, but doing this at construction is the right thing to do. Change-Id: I3bfdc89bb0027c8d67cde937e8f2fa385d89c30c