mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -04:00
Misc intermediate fixes, more work on these to follow.
--Bug fixes: -Fix crash when using smooth interpolation in EmberGenome. -Print error and exit EmberGenome when sequencing if times are not sorted. --Code changes: -Another attempt at Singleton. This reverts the design to what it was before with a fix to the code that was causing it not to behave like a singleton should.
This commit is contained in:
@ -27,8 +27,12 @@ int main(int argc, char* argv[])
|
||||
putenv(const_cast<char*>("GPU_MAX_ALLOC_PERCENT=100"));
|
||||
#endif
|
||||
int rv = -1;
|
||||
auto vlf = VariationList<float>::Instance();//Create two instances that will stay alive until this function exits.
|
||||
auto vf = VarFuncs<float>::Instance();//Create instances that will stay alive until the program exits.
|
||||
auto vlf = VariationList<float>::Instance();
|
||||
#ifdef DO_DOUBLE
|
||||
auto vd = VarFuncs<float>::Instance();
|
||||
auto vld = VariationList<double>::Instance();//No further creations should occur after this.
|
||||
#endif
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user