mirror of
https://github.com/CHN-beta/ufo.git
synced 2024-10-22 19:58:44 +08:00
remove unneeded eval()
This commit is contained in:
parent
0256f6796b
commit
a8987bcbfd
@ -128,8 +128,8 @@ int main(int argc, const char** argv)
|
|||||||
for (int y = -1; y <= 1; y++)
|
for (int y = -1; y <= 1; y++)
|
||||||
for (int z = -1; z <= 1; z++)
|
for (int z = -1; z <= 1; z++)
|
||||||
{
|
{
|
||||||
auto this_qpoint = (current_qpoint
|
auto this_qpoint = current_qpoint
|
||||||
+ Eigen::Matrix<int, 3, 1>{{x}, {y}, {z}}.cast<double>()).eval();
|
+ Eigen::Matrix<int, 3, 1>{{x}, {y}, {z}}.cast<double>();
|
||||||
auto this_score = score(this_qpoint);
|
auto this_score = score(this_qpoint);
|
||||||
if (this_score < min_score)
|
if (this_score < min_score)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user