formatting source-code for 247301c5b5

This commit is contained in:
github-actions 2020-07-02 12:48:35 +00:00
parent 247301c5b5
commit 5baf1ad89f

View File

@ -3,8 +3,8 @@
* @file * @file
* *
* \brief An implementation of Complex Number as Objects * \brief An implementation of Complex Number as Objects
* \details A basic implementation of Complex Number field as a class with operators * \details A basic implementation of Complex Number field as a class with
* overloaded to accommodate (mathematical) field operations. * operators overloaded to accommodate (mathematical) field operations.
*/ */
#include <cassert> #include <cassert>
@ -195,7 +195,8 @@ std::ostream &operator<<(std::ostream &os, const Complex &num) {
} }
/** /**
* \brief Function to get random numbers to generate our complex numbers for test * \brief Function to get random numbers to generate our complex numbers for
* test
*/ */
double get_rand() { return (std::rand() % 100 - 50) / 100.f; } double get_rand() { return (std::rand() % 100 - 50) / 100.f; }