mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
Merge pull request #101 from dhy2000/master
fix #100: change return type to float
This commit is contained in:
commit
932c435a20
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
static const char* type_str() {
|
||||
return "float";
|
||||
}
|
||||
static int generate() {
|
||||
static float generate() {
|
||||
return static_cast<float>(rand()) / RAND_MAX;
|
||||
}
|
||||
static bool compare(float a, float b, int index, int errors) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue