dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
genetic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small optimizations on performance and memory.
[genetic.git]
/
include
/
fitness
/
wsti.h
diff --git
a/include/fitness/wsti.h
b/include/fitness/wsti.h
index 7021f590824665b9f22dcf963704240f7c22bf31..408cfada3e8f0f60ff75fc50e6c7abbc3bd1957a 100644
(file)
--- a/
include/fitness/wsti.h
+++ b/
include/fitness/wsti.h
@@
-13,7
+13,7
@@
namespace genetic {
/**
* Just an example Fitness function based on WSTI version.
*/
- template <typename _Chromosome, typename _Value =
double
>
+ template <typename _Chromosome, typename _Value =
float
>
class WSTI : public Fitness<_Chromosome, _Value> {
protected:
/**