Skip to content
Snippets Groups Projects
Commit 7cbda267 authored by Matthew Webster's avatar Matthew Webster
Browse files

Corrected int/float bug

parent b469d327
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ namespace FILM {
write_ascii_matrix(logger.appendDir("dof"), dofVec);
}
void GlimGls::saveData(const string& outputName, const Matrix& data, volume4D<float>& saveVolume, const volume<float>& volumeMask, const bool setVolumeRange, const bool setVolumeTdim, const int outputTdim, const bool setIntent, const int intentCode, fslSurface<float, unsigned int>& saveSurface, const string& saveMode)
void GlimGls::saveData(const string& outputName, const Matrix& data, volume4D<float>& saveVolume, const volume<float>& volumeMask, const bool setVolumeRange, const bool setVolumeTdim, const float outputTdim, const bool setIntent, const int intentCode, fslSurface<float, unsigned int>& saveSurface, const string& saveMode)
{
if ( saveMode=="surface" ) {
saveSurface.reinitialiseScalars(data.Nrows());
......
......@@ -30,7 +30,7 @@ namespace FILM {
void setData(const ColumnVector& p_y, const Matrix& p_x, const int ind, const Matrix& tContrasts, const Matrix& fContrasts);
void Save(const NEWIMAGE::volume<float>& mask, NEWIMAGE::volume4D<float>& saveVolume,fslsurface_name::fslSurface<float, unsigned int>& saveSurface,const string& saveMode,const float reftdim=1.0);
void saveData(const string& outputName, const Matrix& data, NEWIMAGE::volume4D<float>& saveVolume, const NEWIMAGE::volume<float>& volumeMask, const bool setVolumeRange, const bool setVolumeTdim, const int outputTdim, const bool setIntent, const int intentCode, fslsurface_name::fslSurface<float, unsigned int>& saveSurface, const string& saveToVolume);
void saveData(const string& outputName, const Matrix& data, NEWIMAGE::volume4D<float>& saveVolume, const NEWIMAGE::volume<float>& volumeMask, const bool setVolumeRange, const bool setVolumeTdim, const float outputTdim, const bool setIntent, const int intentCode, fslsurface_name::fslSurface<float, unsigned int>& saveSurface, const string& saveToVolume);
ColumnVector& getResiduals() { return r; }
void CleanUp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment