Skip to content

Commit 18fdfe3

Browse files
Found the bug while doing code review directly on Github vector5 branch. Incorporate the "suggestion commit" into the code. Fixed the bug. Merged vector5 branch into main. Now, I need to merge changes from GitHub main into my vector5 local branch. Want to try resolving merge conflict in programming4.cpp. "If there is no struggle, there is no progress." - Federick Douglass
2 parents 92f59f3 + 5ec56dc commit 18fdfe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

programming4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int main()
8787
// for(size_t i = 1; vector4.size(); ++i)
8888
// {
8989
// vector5.push_back((vector4[i] - vector4[i -1]) / (vector1[i + 2] - vector1[i -1]));
90-
// std::cout << vector5[i] << std::endl;
90+
// std::cout << vector5[i-1] << std::endl;
9191
// }
9292

9393
std::cout << "Print out first part";

0 commit comments

Comments
 (0)